Skip to content

Commit

Permalink
Changes for multiarch targets
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyd450 committed Dec 11, 2023
1 parent c3eced6 commit 7b44832
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile.cli
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ RUN git stash && \
gzip rekor_cli_darwin_amd64 && \
gzip rekor_cli_linux_amd64 && \
gzip rekor_cli_windows_amd64.exe
gzip rekor_cli_darwin_arm64 && \
gzip rekor_cli_linux_arm64 && \
gzip rekor_cli_linux_ppc64le && \
gzip rekor_cli_linux_s390x

#Install stage
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:3e313209ac617a92b50350286752311d99ea2dafc429ef0e5311889294b0bc21
Expand All @@ -36,6 +40,10 @@ LABEL com.redhat.component="rekor-cli"

COPY --from=build-env /opt/app-root/src/rekor_cli_darwin_amd64.gz /usr/local/bin/rekor_cli_darwin_amd64.gz
COPY --from=build-env /opt/app-root/src/rekor_cli_linux_amd64.gz /usr/local/bin/rekor_cli_linux_amd64.gz
COPY --from=build-env /opt/app-root/src/rekor_cli_darwin_arm64.gz /usr/local/bin/rekor_cli_darwin_arm64.gz
COPY --from=build-env /opt/app-root/src/rekor_cli_linux_arm64.gz /usr/local/bin/rekor_cli_linux_arm64.gz
COPY --from=build-env /opt/app-root/src/rekor_cli_linux_ppc64le.gz /usr/local/bin/rekor_cli_linux_ppc64le.gz
COPY --from=build-env /opt/app-root/src/rekor_cli_linux_s390x.gz /usr/local/bin/rekor_cli_linux_s390x.gz
COPY --from=build-env /opt/app-root/src/rekor_cli_windows_amd64.exe.gz /usr/local/bin/rekor_cli_windows_amd64.exe.gz
WORKDIR /opt/app-root/src/home

Expand Down

0 comments on commit 7b44832

Please sign in to comment.