From 8ec26efeb09760a50221f42cddbc11cbb7f9d26b Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Thu, 9 Nov 2023 07:35:00 +0000 Subject: [PATCH] fix(devenv): fix image build Signed-off-by: Andrei Jiroh Halili --- .gitpod.Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index c2dc004..59e0525 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -1,7 +1,8 @@ # syntax=docker/dockerfile:1 FROM gitpod/workspace-full:latest as workspace -WORKDIR /tmp +WORKDIR / +# 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 \ @@ -22,7 +23,7 @@ COPY --from=docker/buildx-bin:latest /buildx /usr/libexec/docker/cli-plugins/doc # brew maintenance + install ShellCheck and Hadolint WORKDIR /home/gitpod -RUN brew update && brew install \ +RUN brew update && brew upgrade \ && brew install hadolint shellcheck \ && npm i -g wrangler \ && git -C ~/.pyenv pull origin master