Skip to content

Commit

Permalink
Merge pull request #62 from securesign/multiarchDockerfile
Browse files Browse the repository at this point in the history
Renamed linux cosign binary to be just "cosign".
  • Loading branch information
tommyd450 authored Oct 27, 2023
2 parents 0c8e949 + 3c1542d commit 2871a14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions redhat/overlays/Dockerfile
Original file line number Diff line number Diff line change
@@ -7,7 +7,6 @@ USER root
RUN git config --global --add safe.directory /cosign
RUN make cross
RUN gzip cosign-darwin-amd64
RUN gzip cosign-linux-amd64
RUN gzip cosign-windows-amd64

# Install Cosign
@@ -21,11 +20,12 @@ LABEL summary="Provides the cosign CLI binary for signing and verifying containe
LABEL com.redhat.component="cosign"

COPY --from=build-env /cosign/cosign-darwin-amd64.gz /usr/local/bin/cosign-darwin-amd64.gz
COPY --from=build-env /cosign/cosign-linux-amd64.gz /usr/local/bin/cosign-linux-amd64.gz
COPY --from=build-env /cosign/cosign-linux-amd64 /usr/local/bin/cosign-linux-amd64
COPY --from=build-env /cosign/cosign-windows-amd64.gz /usr/local/bin/cosign-windows-amd64.gz
RUN mv /usr/local/bin/cosign-linux-amd64 /usr/local/bin/cosign

RUN chown root:0 /usr/local/bin/cosign-darwin-amd64.gz && chmod g+wx /usr/local/bin/cosign-darwin-amd64.gz
RUN chown root:0 /usr/local/bin/cosign-linux-amd64.gz && chmod g+wx /usr/local/bin/cosign-linux-amd64.gz
RUN chown root:0 /usr/local/bin/cosign && chmod g+wx /usr/local/bin/cosign
RUN chown root:0 /usr/local/bin/cosign-windows-amd64.gz && chmod g+wx /usr/local/bin/cosign-windows-amd64.gz

#Configure home directory

0 comments on commit 2871a14

Please sign in to comment.