Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
feat: explicitly set USER root
Browse files Browse the repository at this point in the history
- paketo doesn't have a default user root

Authored-by: Preethi Varambally <[email protected]>
  • Loading branch information
pvaramballypivot committed May 24, 2023
1 parent 627a1f9 commit af6ee34
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; mkdir /tests; 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 \
&& DEBIAN_FRONTEND=noninteractive \
Expand Down

0 comments on commit af6ee34

Please sign in to comment.