Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
| ADD alpine-minirootfs-3.22.3-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| 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 /usr/local/bin/bun /usr/local/bin/ # buildkit |
| COPY docker-entrypoint.sh /usr/local/bin/ # 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 addgroup -g 1000 bun && adduser -u 1000 -G bun -s /bin/sh -D bun && ln -s /usr/local/bin/bun /usr/local/bin/bunx && apk add libgcc libstdc++ && which bun && which bunx && bun --version # buildkit |
| WORKDIR /home/bun/app |
| ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] |
| CMD ["/usr/local/bin/bun"] |
| LABEL maintainer=@imnya |
| COPY app /code/app # buildkit |
| RUN /bin/sh -c chmod +x /code/app/run.sh # buildkit |
| WORKDIR /code/app |
| RUN /bin/sh -c mkdir -p /code/app/temp # buildkit |
| RUN /bin/sh -c bun install # buildkit |
| RUN /bin/sh -c apk add --no-cache tzdata && cp /usr/share/zoneinfo/Asia/Seoul /etc/localtime && echo "Asia/Seoul" > /etc/timezone && apk del tzdata # buildkit |
| RUN /bin/sh -c apk add --no-cache curl # buildkit |
| RUN /bin/sh -c curl -Lo /code/app/supercronic https://github.com/aptible/supercronic/releases/latest/download/supercronic-linux-amd64 && chmod +x /code/app/supercronic # buildkit |
| RUN /bin/sh -c mkdir -p /code/app/temp/logs # buildkit |
| COPY cron /code/app/cron # buildkit |
| RUN /bin/sh -c chmod +x /code/app/cron # buildkit |
| CMD ["/code/app/supercronic" "/code/app/cron"] |
| Key |
Value |
| maintainer |
@imnya |
| org.opencontainers.image.created |
2026-03-18T04:34:02.526Z |
| 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 |
a04817ce2b7f1a1e8b7cbf8af8f2c027ab072f1d |
| 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.11-alpine |