coday (latest)

Published 2026-09-10 08:00:52 +08:00 by xiushen

Installation

docker pull daima.dev/xiushen/coday:latest
sha256:090eecb93a05fb07695e6ca5cb71af1f8a932143b05c5e514a1b7e9116b13c45

Images

Digest OS / Arch Size
15238f98cf linux/amd64 192 MiB

Image Layers ( linux/amd64)

# debian.sh --arch 'amd64' out/ 'trixie' '@1777939200'
ARG BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
ARG BUN_INSTALL_BIN=/usr/local/bin
ENV BUN_INSTALL_BIN=/usr/local/bin
COPY docker-entrypoint.sh /usr/local/bin # buildkit
COPY /usr/local/bin/bun /usr/local/bin/bun # buildkit
RUN |2 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 BUN_INSTALL_BIN=/usr/local/bin /bin/sh -c mkdir -p /usr/local/bun-node-fallback-bin && ln -s /usr/local/bin/bun /usr/local/bun-node-fallback-bin/node # buildkit
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bun-node-fallback-bin
RUN |2 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 BUN_INSTALL_BIN=/usr/local/bin /bin/sh -c groupadd bun --gid 1000 && useradd bun --uid 1000 --gid bun --shell /bin/sh --create-home && ln -s /usr/local/bin/bun /usr/local/bin/bunx && which bun && which bunx && bun --version # buildkit
WORKDIR /home/bun/app
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD ["/usr/local/bin/bun"]
ARG TARGETARCH=amd64
WORKDIR /app
RUN |1 TARGETARCH=amd64 /bin/sh -c test "${TARGETARCH:-amd64}" = "amd64" && apt-get update && apt-get install --no-install-recommends -y bubblewrap ca-certificates libstdc++6 nodejs tini util-linux && rm -rf /var/lib/apt/lists/* && groupadd --system --gid 10001 coday && useradd --system --uid 10001 --gid 10001 --home-dir /home/coday --create-home coday && mkdir -p /home/coday/.config/coday /home/coday/.local/share/coday /home/coday/.cache/coday /home/coday/.local/state/coday /workspace && chown -R coday:coday /home/coday /workspace # buildkit
COPY --chown=coday:coday /src/dist ./dist # buildkit
COPY --chown=coday:coday /src/package.json ./package.json # buildkit
COPY --chown=coday:coday /src/migrations ./migrations # buildkit
COPY --chown=coday:coday /src/LICENSE ./LICENSE # buildkit
ENV HOME=/home/coday CODAY_CONFIG_DIR=/home/coday/.config/coday CODAY_DATA_DIR=/home/coday/.local/share/coday CODAY_CACHE_DIR=/home/coday/.cache/coday CODAY_STATE_DIR=/home/coday/.local/state/coday CODAY_WEB_ROOT=/app/dist/gui CODAY_SECURE_COOKIES=1
USER coday
EXPOSE [4096/tcp]
VOLUME [/home/coday/.config/coday /home/coday/.local/share/coday /home/coday/.cache/coday /home/coday/.local/state/coday /workspace]
ENTRYPOINT ["/usr/bin/tini" "--" "/app/dist/coday"]
CMD ["serve" "--host" "0.0.0.0" "--port" "4096"]
HEALTHCHECK {Test:[CMD bun -e fetch('http://127.0.0.1:4096/health').then(async r => { const body = await r.json(); process.exit(r.ok && body.ok === true && body.runtime === 'ready' ? 0 : 1) }).catch(() => process.exit(1))] Interval:30s Timeout:5s StartPeriod:20s StartInterval:0s Retries:3}

Labels

Key Value
org.opencontainers.image.created 2026-05-13T03:50:35.951Z
org.opencontainers.image.description Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
org.opencontainers.image.licenses NOASSERTION
org.opencontainers.image.revision 0d9b296af33f2b851fcbf4df3e9ec89751734ba4
org.opencontainers.image.source https://github.com/oven-sh/bun
org.opencontainers.image.title bun
org.opencontainers.image.url https://github.com/oven-sh/bun
org.opencontainers.image.version 1.3.14-slim
Details
Container
2026-09-10 08:00:52 +08:00
51
OCI / Docker
Versions (1) View all
latest 2026-09-10