duck-api (latest)
Published 2025-06-19 17:10:44 +00:00 by cmpickle
Installation
docker pull gitea.cameronpickle.com/rubber_duckies/duck-api:latestsha256:24172d25cce627a75b79d8b99a47e8ddb600f2321d6f8d631562bc546f9ee03bAbout this package
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1749513600' |
| COPY docker-entrypoint.sh /usr/local/bin # buildkit |
| COPY /usr/local/bin/bun /usr/local/bin/bun # buildkit |
| RUN /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 |
| 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 |
| 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"] |
| WORKDIR /usr/src/app |
| ARG DB_HOST |
| ENV DB_HOST=duck_db |
| ARG DB_PORT |
| ENV DB_PORT=5432 |
| ARG DB_USER |
| ENV DB_USER=postgres |
| ARG DB_PASS |
| ENV DB_PASS=test |
| ARG DB_NAME |
| ARG DB_HOST |
| ENV DB_HOST=duck_db |
| ARG DB_PORT |
| ENV DB_PORT=5432 |
| ARG DB_USER |
| ENV DB_USER=postgres |
| ARG DB_PASS |
| ENV DB_PASS=test |
| ARG DB_NAME |
| COPY /temp/prod/node_modules node_modules # buildkit |
| COPY . . # buildkit |
| USER bun |
| EXPOSE map[3000/tcp:{}] |
| CMD ["bun" "run" "index.ts"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2025-06-12T04:59:05.028Z |
| 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 | 07d3d6c9f694ddffc4e4ab6f14dd5e6334b28037 |
| 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.2.16 |
Details
2025-06-19 17:10:44 +00:00
Versions (13)
View all
Container
13
OCI / Docker
linux/amd64
NOASSERTION
99 MiB