Skip to content

Commit 7d7ad37

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 7d7ad37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dogfood/coder/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN cargo install exa bat ripgrep typos-cli watchexec-cli && \
99
FROM ubuntu:jammy@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97 AS go
1010

1111
# Install Go manually, so that we can control the version
12-
ARG GO_VERSION=1.22.8
12+
ARG GO_VERSION=1.24.1
1313

1414
# Boring Go is needed to build FIPS-compliant binaries.
1515
RUN apt-get update && \
@@ -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)