From 13e7b5824d1d56cd7fc011233bf5f8baf2d2b8f0 Mon Sep 17 00:00:00 2001 From: Mahdi Baghbani Date: Thu, 7 Mar 2024 00:22:02 +0330 Subject: [PATCH] fix: need sudo to avoid permission denied --- .gitpod.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 57c22a08..a93a9568 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -3,8 +3,8 @@ FROM gitpod/workspace-full:latest RUN sudo install-packages php-xdebug # install act. -RUN mkdir -p /dev-stock/bin/act -RUN wget -qO- https://github.com/nektos/act/releases/download/$(curl -I https://github.com/nektos/act/releases/latest | awk -F '/' '/^location/ {print substr($NF, 1, length($NF)-1)}')/act_Linux_x86_64.tar.gz | tar xvz -C /dev-stock/bin/act +RUN sudo mkdir -p /dev-stock/bin/act +RUN wget -qO- https://github.com/nektos/act/releases/download/$(curl -I https://github.com/nektos/act/releases/latest | awk -F '/' '/^location/ {print substr($NF, 1, length($NF)-1)}')/act_Linux_x86_64.tar.gz | sudo tar xvz -C /dev-stock/bin/act # add binary directory to path. ENV PATH="/dev-stock/bin:${PATH}"