Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Commit

Permalink
move binary to path
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com>
  • Loading branch information
ckotzbauer committed Jun 2, 2020
1 parent a0bb39d commit 6aaa11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN go build -ldflags '-w -s' -o /k8spolicy


FROM debian:buster-slim
COPY --from=builder /k8spolicy /k8spolicy
COPY --from=builder /k8spolicy /usr/local/bin/k8spolicy

ENV CONFTEST_VERSION 0.18.2
ENV K8SPOLICY_SKIP_POLICY_DOWNLOAD true
Expand Down Expand Up @@ -44,4 +44,4 @@ RUN apt-get update && \
chown -R 1000:1000 /tmp/k8spolicy

USER k8spolicy
ENTRYPOINT ["/k8spolicy"]
ENTRYPOINT ["/usr/local/bin/k8spolicy"]

0 comments on commit 6aaa11b

Please sign in to comment.