sbweb (bev1.13.8)

Published 2025-03-09 19:19:03 +01:00 by DaTTV

Installation

docker pull git.eplg.services/dattv/sbweb:bev1.13.8
sha256:ff03fda53d49ae045f362e2774963485be53186b530550b83cb8fa855cf13565

About this package

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

Image layers

ADD alpine-minirootfs-3.20.6-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"]
/bin/sh -c addgroup -S appgroup && adduser -S appuser -G appgroup
WORKDIR /app
COPY dir:ab252c68f6062f699154b766ce368b56ad708d6a31d20ea5c0d0d1a07f2233fd in ./.output
COPY file:73edb76a1496c36bee6c5ebf8682d44f92cc210182ab2df05b9b1dd01a8ba61f in ./
/bin/sh -c bun install --production && rm -rf /root/.bun/install/cache && rm -rf /root/.npm && rm -rf /tmp/* && chown -R appuser:appgroup /app
USER appuser
ENV NODE_ENV=production
ENV HOST=0.0.0.0
ENV PORT=3000
LABEL io.containers.healthcheck="{\"Test\":[\"CMD\",\"bun\",\"--eval\",\"try { fetch('http://localhost:3000/'); process.exit(0) } catch(e) { process.exit(1) }\"],\"Interval\":\"30s\",\"Timeout\":\"5s\",\"StartPeriod\":\"5s\",\"Retries\":3}"
EXPOSE 3000
CMD ["bun", ".output/server/index.mjs"]

Labels

Key Value
io.buildah.version 1.37.6
io.containers.healthcheck {"Test":["CMD","bun","--eval","try { fetch('http://localhost:3000/'); process.exit(0) } catch(e) { process.exit(1) }"],"Interval":"30s","Timeout":"5s","StartPeriod":"5s","Retries":3}
org.opencontainers.image.created 2025-02-26T10:18:52.175Z
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 fd9a5ea668e9ffce5fd5f25a7cfd2d45f0eaa85b
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.4-alpine
Details
Container
2025-03-09 19:19:03 +01:00
1
OCI / Docker
linux/amd64
NOASSERTION
100 MiB
Versions (28) View all
v1.13.13 2025-03-11
v1.13.12 2025-03-09
v1.13.11 2025-03-09
v1.13.10 2025-03-09
v1.13.9 2025-03-09