Skip to content

Commit

Permalink
Dockerfile: set HOME to /
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
  • Loading branch information
xmudrii committed Oct 6, 2021
1 parent 455a8be commit 821c5f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Expand Up @@ -53,6 +53,10 @@ FROM base AS test-variant
# Include auditor testing fixtures.
COPY --from=builder /go/src/app/test-e2e/cip-auditor/fixture /e2e-fixtures

# The docker/auth configuration file is located in the root (/), therefore we
# set HOME to /, so tools can find the config file.
ENV HOME=/

# Trigger the auditor on startup.
ENTRYPOINT ["/kpromo", "cip", "audit", "--verbose"]

Expand All @@ -62,5 +66,9 @@ FROM base AS prod-variant
LABEL maintainers="Kubernetes Authors"
LABEL description="kpromo: The Kubernetes project artifact promoter"

# The docker/auth configuration file is located in root (/), therefore we
# set HOME to /, so tools can find the config file.
ENV HOME=/

# Allow the runtime argument to choose the final variant.
FROM ${variant}-variant AS final

0 comments on commit 821c5f6

Please sign in to comment.