Skip to content

Commit

Permalink
File both RUN commands into one
Browse files Browse the repository at this point in the history
Not sure why I did this, but this makes it one layer less
  • Loading branch information
WyriHaximus authored Oct 7, 2024
1 parent 6913e55 commit fc1742f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ RUN (echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/*.deb || true"
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 &&\
chmod 700 get_helm.sh &&\
./get_helm.sh &&\
rm ./get_helm.sh
rm ./get_helm.sh &&\

## See https://github.com/actions/checkout/issues/956
RUN groupmod -g 1000 runner && usermod -u 1000 runner
## See https://github.com/actions/checkout/issues/956
groupmod -g 1000 runner && usermod -u 1000 runner

USER runner

Expand Down

0 comments on commit fc1742f

Please sign in to comment.