Skip to content

Commit 4f7f38b

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 4f7f38b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dogfood/coder/Dockerfile

Lines changed: 3 additions & 3 deletions
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 && \
@@ -320,8 +320,8 @@ RUN curl --silent --show-error --location --output /usr/local/bin/cloud_sql_prox
320320
curl --silent --show-error --location "https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz" | \
321321
tar --extract --gzip --directory=/usr/local/bin --file=- trivy && \
322322
# Anchore Syft for SBOM generation
323-
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 \
323+
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 && \
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy