Skip to content

Commit

Permalink
Merge pull request #167 from concourse/fix/dockerfile-paketo
Browse files Browse the repository at this point in the history
feat: explicitly set USER root
  • Loading branch information
pvaramballypivot authored May 24, 2023
2 parents 319e934 + b0413c7 commit 1f76da4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dockerfiles/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN set -e; for pkg in $(go list ./...); do \
done

FROM ${base_image} AS resource
USER root
RUN apt update && apt upgrade -y -o Dpkg::Options::="--force-confdef"
RUN apt update \
&& apt install -y --no-install-recommends \
Expand Down

0 comments on commit 1f76da4

Please sign in to comment.