Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: ensure unzip is available for Bun installation
This fix explicitly installs unzip in the same command chain where it's used for
the Bun installation process. Even though unzip is installed earlier in the
Dockerfile, this ensures it's available at the exact point it's needed,
avoiding potential issues in CI build environments like Depot.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
  • Loading branch information
bpmct and claude committed Jun 1, 2025
commit 1c4f14b761533be4fd25cef3ef0fe38e55f073ea
5 changes: 4 additions & 1 deletion dogfood/coder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,14 @@ RUN curl --silent --show-error --location --output /usr/local/bin/cloud_sql_prox
curl --silent --show-error --location --output /usr/local/bin/cosign "https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}/cosign-linux-amd64" && \
chmod a=rx /usr/local/bin/cosign && \
# Install Bun JavaScript runtime to /usr/local/bin
# Ensure unzip is installed right before using it
apt-get update && apt-get install -y unzip && \
curl --silent --show-error --location --fail "https://github.com/oven-sh/bun/releases/download/bun-v${BUN_VERSION}/bun-linux-x64.zip" --output /tmp/bun.zip && \
unzip -q /tmp/bun.zip -d /tmp && \
mv /tmp/bun-linux-x64/bun /usr/local/bin/ && \
chmod a=rx /usr/local/bin/bun && \
rm -rf /tmp/bun.zip /tmp/bun-linux-x64
rm -rf /tmp/bun.zip /tmp/bun-linux-x64 && \
apt-get clean && rm -rf /var/lib/apt/lists/*

# We use yq during "make deploy" to manually substitute out fields in
# our helm values.yaml file. See https://github.com/helm/helm/issues/3141
Expand Down
Loading