Skip to content

Commit 459b2f0

Browse files
committed
Two space indenting in dockerfiles
(This is what the nvim formatter wants so I'm going with the flow.)
1 parent afc638c commit 459b2f0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ COPY --from=build /build/cosign_version.txt /download/
4848

4949
# Download the matching version of cosign
5050
RUN COSIGN_VERSION=$(cat /download/cosign_version.txt) && \
51-
curl -sLO https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/cosign-${TARGETOS}-${TARGETARCH} && \
52-
curl -sLO https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/cosign_checksums.txt && \
53-
sha256sum --check <(grep -w "cosign-${TARGETOS}-${TARGETARCH}" < cosign_checksums.txt) && \
54-
mv "cosign-${TARGETOS}-${TARGETARCH}" cosign && \
55-
chmod +x cosign
51+
curl -sLO https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/cosign-${TARGETOS}-${TARGETARCH} && \
52+
curl -sLO https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/cosign_checksums.txt && \
53+
sha256sum --check <(grep -w "cosign-${TARGETOS}-${TARGETARCH}" < cosign_checksums.txt) && \
54+
mv "cosign-${TARGETOS}-${TARGETARCH}" cosign && \
55+
chmod +x cosign
5656

5757
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4@sha256:2636170dc55a0931d013014a72ae26c0c2521d4b61a28354b3e2e5369fa335a3
5858

Dockerfile.dist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ COPY --from=build /build/cosign_version.txt /download/
5656

5757
# Download the matching version of cosign
5858
RUN COSIGN_VERSION=$(cat /download/cosign_version.txt) && \
59-
curl -sLO https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/cosign-${TARGETOS}-${TARGETARCH} && \
60-
curl -sLO https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/cosign_checksums.txt && \
61-
sha256sum --check <(grep -w "cosign-${TARGETOS}-${TARGETARCH}" < cosign_checksums.txt) && \
62-
mv "cosign-${TARGETOS}-${TARGETARCH}" cosign && \
63-
chmod +x cosign
59+
curl -sLO https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/cosign-${TARGETOS}-${TARGETARCH} && \
60+
curl -sLO https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/cosign_checksums.txt && \
61+
sha256sum --check <(grep -w "cosign-${TARGETOS}-${TARGETARCH}" < cosign_checksums.txt) && \
62+
mv "cosign-${TARGETOS}-${TARGETARCH}" cosign && \
63+
chmod +x cosign
6464

6565
## Final image
6666

0 commit comments

Comments
 (0)