Skip to content

Commit 7cc0083

Browse files
committed
fix: add missing && operator in dogfood Dockerfile
The installation of Syft and Cosign in the dogfood Dockerfile was missing an && operator between commands, causing the build to fail. This commit adds the missing operator to ensure proper command chaining. Change-Id: I540258ed9638581d7ee704915a2f261d0aed7beb Signed-off-by: Thomas Kosiewski <tk@coder.com>
1 parent 3ab1ab6 commit 7cc0083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dogfood/coder/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ RUN curl --silent --show-error --location --output /usr/local/bin/cloud_sql_prox
321321
tar --extract --gzip --directory=/usr/local/bin --file=- trivy && \
322322
# Anchore Syft for SBOM generation
323323
curl --silent --show-error --location "https://github.com/anchore/syft/releases/download/v${SYFT_VERSION}/syft_${SYFT_VERSION}_linux-amd64.tar.gz" | \
324-
tar --extract --gzip --directory=/usr/local/bin --file=- syft \
324+
tar --extract --gzip --directory=/usr/local/bin --file=- syft && \
325325
# Sigstore Cosign for artifact signing and attestation
326326
curl --silent --show-error --location --output /usr/local/bin/cosign "https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}/cosign-linux-amd64" && \
327327
chmod a=rx /usr/local/bin/cosign

0 commit comments

Comments
 (0)