forked from sigstore/cosign
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile.client-server-re.rh
41 lines (33 loc) · 2.72 KB
/
Dockerfile.client-server-re.rh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Provides the Trusted Artifact Signer CLI binaries, rekor-cli and ec
FROM quay.io/securesign/rekor-cli@sha256:0f874a33e5ee36ed6cdb080e1774a6d66d3c095458f8a138b5c0f95fd8f32944 as rekor
FROM registry.redhat.io/rhtas/ec-rhel9:0.5@sha256:815110eec64d0d7fb4af003e86c261234b165bcfde8012f0891eba6c0c419b4e as ec
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:f5d2c6a1e0c86e4234ea601552dbabb4ced0e013a1efcbfb439f1f6a7a9275b0
ENV APP_ROOT=/opt/app-root
WORKDIR $APP_ROOT/src/
RUN mkdir -p $APP_ROOT/src/clients/darwin && \
mkdir -p $APP_ROOT/src/clients/linux && \
mkdir -p $APP_ROOT/src/clients/windows
COPY --from=rekor /usr/local/bin/rekor_cli_darwin_amd64.gz $APP_ROOT/src/clients/darwin/rekor-cli-amd64.gz
COPY --from=rekor /usr/local/bin/rekor_cli_darwin_arm64.gz $APP_ROOT/src/clients/darwin/rekor-cli-arm64.gz
COPY --from=rekor /usr/local/bin/rekor_cli_linux_amd64.gz $APP_ROOT/src/clients/linux/rekor-cli-amd64.gz
COPY --from=rekor /usr/local/bin/rekor_cli_linux_arm64.gz $APP_ROOT/src/clients/linux/rekor-cli-arm64.gz
COPY --from=rekor /usr/local/bin/rekor_cli_linux_ppc64le.gz $APP_ROOT/src/clients/linux/rekor-cli-ppc64le.gz
COPY --from=rekor /usr/local/bin/rekor_cli_linux_s390x.gz $APP_ROOT/src/clients/linux/rekor-cli-s390x.gz
COPY --from=rekor /usr/local/bin/rekor_cli_windows_amd64.exe.gz $APP_ROOT/src/clients/windows/rekor-cli-amd64.gz
COPY --from=ec /usr/local/bin/ec_darwin_amd64.gz $APP_ROOT/src/clients/darwin/ec-amd64.gz
COPY --from=ec /usr/local/bin/ec_darwin_arm64.gz $APP_ROOT/src/clients/darwin/ec-arm64.gz
COPY --from=ec /usr/local/bin/ec_linux_amd64.gz $APP_ROOT/src/clients/linux/ec-amd64.gz
COPY --from=ec /usr/local/bin/ec_linux_arm64.gz $APP_ROOT/src/clients/linux/ec-arm64.gz
COPY --from=ec /usr/local/bin/ec_linux_ppc64le.gz $APP_ROOT/src/clients/linux/ec-ppc64le.gz
COPY --from=ec /usr/local/bin/ec_linux_s390x.gz $APP_ROOT/src/clients/linux/ec-s390x.gz
COPY --from=ec /usr/local/bin/ec_windows_amd64.exe.gz $APP_ROOT/src/clients/windows/ec-amd64.gz
LABEL \
com.redhat.component="trusted-artifact-signer-serve-cli-container-re" \
name="trusted-artifact-signer-serve-cli-container-re" \
version="1.1.0" \
summary="Red Hat serves Trusted Artifact Signer CLI binaries, rekor-cli and ec" \
description="Serves Trusted Artifact Signer CLI binaries, rekor-cli and ec, from an HTTP server" \
io.k8s.description="Serves Trusted Artifact Signer CLI binaries, rekor-cli and ec, from an HTTP server" \
io.k8s.display-name="Red Hat serves Trusted Artifact Signer CLI binaries, rekor-cli and ec" \
io.openshift.tags="rekor, ec, cli, rhtas, trusted, artifact, signer, sigstore" \
maintainer="[email protected]"