-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove rootless images from build process (#558)
Signed-off-by: Tyler Schade <[email protected]>
- Loading branch information
Showing
2 changed files
with
7 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,12 @@ FROM ${BASE} | |
|
||
# Any non-zero number will do, and unfortunately a named user will not, as k8s | ||
# pod securityContext runAsNonRoot can't resolve the user ID: | ||
# https://github.com/kubernetes/kubernetes/issues/40958. Make root (uid 0) when | ||
# not specified. | ||
ARG USER=0 | ||
# https://github.com/kubernetes/kubernetes/issues/40958. | ||
ARG USER=1000:1000 | ||
USER ${USER} | ||
|
||
MAINTAINER Ashutosh Narkar <[email protected]> | ||
|
||
USER ${USER} | ||
|
||
WORKDIR /app | ||
|
||
COPY opa_envoy_linux_GOARCH /app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters