2023-05-05 09:24:28 +00:00
|
|
|
# syntax=docker/dockerfile:1
|
2023-07-03 16:54:04 +00:00
|
|
|
FROM gitpod/workspace-full:latest as workspace
|
|
|
|
|
|
|
|
WORKDIR /tmp
|
2023-07-12 16:12:40 +00:00
|
|
|
RUN git clone https://git.sr.ht/~sircmpwn/scdoc && cd scdoc \
|
2023-07-03 16:54:04 +00:00
|
|
|
&& make && sudo cp scdoc /usr/local/bin/scdoc && cd .. \
|
|
|
|
&& git clone https://git.sr.ht/~emersion/hut && cd hut \
|
|
|
|
&& make PREFIX=/home/gitpod/.local && sudo cp ./hut /usr/local/bin/hut \
|
2023-07-12 16:12:40 +00:00
|
|
|
&& sudo rm -rv /tmp/*
|
2023-03-24 17:36:48 +00:00
|
|
|
|
|
|
|
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#linux
|
|
|
|
RUN sudo install-packages \
|
|
|
|
libcairo2-dev \
|
|
|
|
libfreetype6-dev \
|
|
|
|
libffi-dev \
|
|
|
|
libjpeg-dev \
|
|
|
|
libpng-dev \
|
|
|
|
libz-dev
|
|
|
|
|
2023-05-05 09:24:28 +00:00
|
|
|
# https://docs.docker.com/build/install-buildx/
|
|
|
|
COPY --from=docker/buildx-bin:latest /buildx /usr/libexec/docker/cli-plugins/docker-buildx
|
|
|
|
|
2023-03-24 17:36:48 +00:00
|
|
|
# brew maintenance + install ShellCheck and Hadolint
|
2023-07-03 16:54:04 +00:00
|
|
|
WORKDIR /home/gitpod
|
2023-07-03 16:58:22 +00:00
|
|
|
RUN brew update && brew install hadolint shellcheck \
|
|
|
|
&& npm i -g wrangler
|