aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-21 05:53:16 -0700
committerAdam Soltys <[email protected]>2026-10-21 05:53:16 -0700
commit19f2f10fb6821a56ecd5dfbbb2bbe28b7d13d26b (patch)
treeb51b493f7a6bed861254486acc713b3b8d467f57 /docker
parent12349761c03e769e1d54e878746a10d0a464b38d (diff)
downloadcoinos-server-19f2f10fb6821a56ecd5dfbbb2bbe28b7d13d26b.tar.gz
coinos-server-19f2f10fb6821a56ecd5dfbbb2bbe28b7d13d26b.zip
base: pin bun to 1.3.11 so rebuilding the image (fresh ca-certificates for the emSign CA compromise) doesn't also upgrade bun
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docker')
-rw-r--r--docker/base.Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/base.Dockerfile b/docker/base.Dockerfile
index 489f83d9..273e3201 100644
--- a/docker/base.Dockerfile
+++ b/docker/base.Dockerfile
@@ -1,10 +1,12 @@
FROM debian:trixie-slim
+ARG BUN_VERSION=1.3.11
+
RUN apt-get update && apt-get install -y --no-install-recommends \
curl unzip ca-certificates wget \
libpq5 libsodium23 libatomic1 jq socat inotify-tools \
liblmdb0 libsecp256k1-2 tini \
- && curl -fsSL https://bun.sh/install | bash \
+ && curl -fsSL https://bun.sh/install | bash -s "bun-v${BUN_VERSION}" \
&& mv /root/.bun/bin/bun /usr/local/bin/bun \
&& ln -s /usr/local/bin/bun /usr/local/bin/bunx \
&& rm -rf /root/.bun \