Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf07a14

Browse files
bpmctclaude
andauthored
feat: add Bun v1.2.15 to dogfood image (#18154)
## Summary- Adds Bun JavaScript runtime (v1.2.15) to the dogfood image- Installs Bun to /usr/local/bin to ensure persistence when /home/coderis mounted- Verified that Bun works correctly in the built container## Test plan1. Build the dogfood image with `cd dogfood/coder && docker build -tcodercom/oss-dogfood:test .`2. Run the container with `docker run --rm -it codercom/oss-dogfood:testbash`3. Test Bun in the container with: - `bun --version` (should output 1.2.15)- `cd /tmp && echo "console.log('Hello from Bun\!');" > test.js && bunrun test.js`🤖 Generated with [Claude Code](https://claude.ai/code)Co-authored-by: Claude <noreply@anthropic.com>
1 parent854ef5b commitbf07a14

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

‎dogfood/coder/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ ARG CLOUD_SQL_PROXY_VERSION=2.2.0 \
287287
TERRAGRUNT_VERSION=0.45.11 \
288288
TRIVY_VERSION=0.41.0 \
289289
SYFT_VERSION=1.20.0 \
290-
COSIGN_VERSION=2.4.3
290+
COSIGN_VERSION=2.4.3 \
291+
BUN_VERSION=1.2.15
291292

292293
# cloud_sql_proxy, for connecting to cloudsql instances
293294
# the upstream go.mod prevents this from being installed with go install
@@ -331,7 +332,13 @@ RUN curl --silent --show-error --location --output /usr/local/bin/cloud_sql_prox
331332
tar --extract --gzip --directory=/usr/local/bin --file=- syft && \
332333
# Sigstore Cosign for artifact signing and attestation
333334
curl --silent --show-error --location --output /usr/local/bin/cosign"https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}/cosign-linux-amd64" && \
334-
chmod a=rx /usr/local/bin/cosign
335+
chmod a=rx /usr/local/bin/cosign && \
336+
# Install Bun JavaScript runtime to /usr/local/bin
337+
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 && \
338+
unzip -q /tmp/bun.zip -d /tmp && \
339+
mv /tmp/bun-linux-x64/bun /usr/local/bin/ && \
340+
chmod a=rx /usr/local/bin/bun && \
341+
rm -rf /tmp/bun.zip /tmp/bun-linux-x64
335342

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp