Skip to content

Commit b6233aa

Browse files
authored
Merge pull request #1628 from simonbaird/usr-local-bin-in-container
Use /usr/local/bin for container build ec binary
2 parents 1cd6812 + aa2f7d1 commit b6233aa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4@sha256:2636170dc55a0931d013
5959
ARG TARGETOS
6060
ARG TARGETARCH
6161

62-
COPY --from=download /download/cosign /usr/bin/cosign
62+
COPY --from=download /download/cosign /usr/local/bin/cosign
6363
RUN cosign version
6464

6565
RUN microdnf -y --nodocs --setopt=keepcache=0 install git-core jq
6666

6767
# Copy the one ec binary that can run in this container
68-
COPY --from=build "/build/dist/ec_${TARGETOS}_${TARGETARCH}" /usr/bin/ec
68+
COPY --from=build "/build/dist/ec_${TARGETOS}_${TARGETARCH}" /usr/local/bin/ec
6969

70-
ENTRYPOINT ["/usr/bin/ec"]
70+
ENTRYPOINT ["/usr/local/bin/ec"]

0 commit comments

Comments
 (0)