Skip to content

Commit cc33daf

Browse files
committed
chore: fix dockerfile linting issues for rootless image
Signed-off-by: Justin Chadwell <[email protected]>
1 parent 07e2dce commit cc33daf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@ COPY --link --from=binaries / /usr/bin/
454454
COPY --link examples/buildctl-daemonless/buildctl-daemonless.sh /usr/bin/
455455
# Kubernetes runAsNonRoot requires USER to be numeric
456456
USER 1000:1000
457-
ENV HOME /home/user
458-
ENV USER user
457+
ENV HOME=/home/user
458+
ENV USER=user
459459
ENV XDG_RUNTIME_DIR=/run/user/1000
460460
ENV TMPDIR=/home/user/.local/tmp
461461
ENV BUILDKIT_HOST=unix:///run/user/1000/buildkit/buildkitd.sock

0 commit comments

Comments
 (0)