mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2025-05-16 02:23:08 +00:00
chore(gitpod): migrate Classic Gitpod config to devcontainers
Spoiler: Gitpod tasks are now under the automations.yaml file, along side support for services in Gitpod Flex. :) Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
This commit is contained in:
parent
e954a7fa74
commit
f3c6473e83
3 changed files with 65 additions and 0 deletions
29
.devcontainer/Dockerfile
Normal file
29
.devcontainer/Dockerfile
Normal file
|
@ -0,0 +1,29 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM gitpod/workspace-full:latest as workspace
|
||||
|
||||
WORKDIR /tmp
|
||||
# setup work for scdoc and hut cli
|
||||
RUN git clone https://git.sr.ht/~sircmpwn/scdoc && cd scdoc \
|
||||
&& 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 \
|
||||
&& sudo rm -rv /tmp/*
|
||||
|
||||
# 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
|
||||
|
||||
# https://docs.docker.com/build/install-buildx/
|
||||
COPY --from=docker/buildx-bin:latest /buildx /usr/libexec/docker/cli-plugins/docker-buildx
|
||||
|
||||
# brew maintenance + install ShellCheck and Hadolint
|
||||
WORKDIR /home/gitpod
|
||||
RUN brew update && brew upgrade \
|
||||
&& brew install hadolint shellcheck \
|
||||
&& npm i -g wrangler \
|
||||
&& git -C ~/.pyenv pull origin master
|
Loading…
Add table
Add a link
Reference in a new issue