Skip to content

Commit

Permalink
fix: need sudo to avoid permission denied
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBaghbani authored Mar 6, 2024
1 parent c66d87f commit 13e7b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 13e7b58

Please sign in to comment.