toknd_auth (sha256:5b4a03256f7a1a0160860ff540c80d4406f6a09e5a67f15ee4f1c8d9517e1285)

Published 2026-07-17 15:21:34 +00:00 by me in me/toknd_auth

Installation

docker pull forge.ramvignesh.dev/me/toknd_auth@sha256:5b4a03256f7a1a0160860ff540c80d4406f6a09e5a67f15ee4f1c8d9517e1285
sha256:5b4a03256f7a1a0160860ff540c80d4406f6a09e5a67f15ee4f1c8d9517e1285

About this package

A minimal and light-weight AuthToken broker

Image layers

# debian.sh --arch 'arm64' 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"]
WORKDIR /app
COPY package.json bun.lock* ./ # buildkit
RUN /bin/sh -c bun install --frozen-lockfile --ignore-scripts # buildkit
COPY . . # buildkit
ENV NODE_ENV=production
USER bun
EXPOSE [3000/tcp]
HEALTHCHECK {Test:[CMD-SHELL bun -e "fetch('http://localhost:3000/health').then(res => res.ok ? process.exit(0) : process.exit(1)).catch(e => process.exit(1))"] Interval:30s Timeout:5s StartPeriod:0s StartInterval:0s Retries:3}
CMD ["bun" "run" "start"]

Labels

Key Value
org.opencontainers.image.created 2026-07-17T15:21:17.216Z
org.opencontainers.image.description A minimal and light-weight AuthToken broker
org.opencontainers.image.licenses
org.opencontainers.image.revision 2f1a498950e1ea2e13f5a01d784f5c7cd0b21e8e
org.opencontainers.image.source https://forge.ramvignesh.dev/me/toknd_auth
org.opencontainers.image.title toknd_auth
org.opencontainers.image.url https://forge.ramvignesh.dev/me/toknd_auth
org.opencontainers.image.version main
Details
Container
2026-07-17 15:21:34 +00:00
0
OCI / Docker
linux/arm64
110 MiB
Versions (4) View all
c71497c 2026-07-17
main 2026-07-17
latest 2026-07-17
2f1a498 2026-07-17