Skip to content

Commit

Permalink
Fix Docker warning LegacyKeyValueFormat
Browse files Browse the repository at this point in the history
`"ENV key=value" should be used instead of legacy "ENV key value" format` per https://docs.docker.com/reference/build-checks/legacy-key-value-format/ .
  • Loading branch information
jingyuanliang authored Jul 28, 2024
1 parent 9d3af57 commit 7011ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ COPY bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN}

# This would be nicer as `nobody:nobody` but distroless has no such entries.
USER 65535:65535
ENV HOME /
ENV HOME=/

ENTRYPOINT ["/{ARG_BIN}"]

0 comments on commit 7011ae1

Please sign in to comment.