brehoni-site (sha256:09508d96a5957ebfbcc1935afaec175bc45514015fa542f9dc4d3f6377b1b8b6)

Published 2026-09-07 18:34:32 +00:00 by isabella in isabella/brehoni.cz

Installation

docker pull forgejo.isbl.cz/isabella/brehoni-site@sha256:09508d96a5957ebfbcc1935afaec175bc45514015fa542f9dc4d3f6377b1b8b6
sha256:09508d96a5957ebfbcc1935afaec175bc45514015fa542f9dc4d3f6377b1b8b6

Image layers

# debian.sh --arch 'arm64' out/ 'stable' '@1775433600'
ARG PNPM_VERSION
ARG PNPM_SHA256_AMD64
ARG PNPM_SHA256_ARM64
ARG TARGETARCH
ENV PNPM_HOME=/pnpm
ENV PATH=/pnpm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |4 PNPM_VERSION=11.26.0 PNPM_SHA256_AMD64=9d877d4804bd586dc51f51167fffb0c20e45d97540bffa9b0179701cb51a94c0 PNPM_SHA256_ARM64=61b245dbb66b09c47012b4c37ccb5fee34cc5b7d1e5d5a5b12345adce31ad3ce TARGETARCH=arm64 /bin/sh -c set -eu; test -n "$PNPM_VERSION"; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl libatomic1; rm -rf /var/lib/apt/lists/*; case "$TARGETARCH" in amd64) arch=x64; expected_sha="$PNPM_SHA256_AMD64" ;; arm64) arch=arm64; expected_sha="$PNPM_SHA256_ARM64" ;; *) echo "unsupported architecture: $TARGETARCH" >&2; exit 1 ;; esac; test -n "$expected_sha" || { echo "missing PNPM_SHA256_* build-arg for $TARGETARCH" >&2; exit 1; }; mkdir -p /opt/pnpm "$PNPM_HOME/bin"; chmod -R a+rwX "$PNPM_HOME"; curl -fsSL --retry 3 --retry-delay 2 -o /tmp/pnpm.tgz "https://github.com/pnpm/pnpm/releases/download/v${PNPM_VERSION}/pnpm-linux-${arch}.tar.gz"; actual_sha="$(sha256sum /tmp/pnpm.tgz | awk '{print $1}')"; test "$actual_sha" = "$expected_sha" || { echo "sha256 mismatch for pnpm-linux-${arch}.tar.gz: expected $expected_sha, got $actual_sha" >&2; exit 1; }; tar -xzf /tmp/pnpm.tgz -C /opt/pnpm; rm /tmp/pnpm.tgz; ln -s /opt/pnpm/pnpm /usr/local/bin/pnpm; installed="$(pnpm --version)"; test "$installed" = "$PNPM_VERSION" || { echo "pnpm version mismatch: expected $PNPM_VERSION, got $installed" >&2; exit 1; } # buildkit
WORKDIR /app
RUN /bin/sh -c pnpm runtime set node 26 -g # buildkit
WORKDIR /app
ENV NODE_ENV=production
RUN /bin/sh -c groupadd --system --gid 1001 nodejs && useradd --system --uid 1001 --gid nodejs astro # buildkit
WORKDIR /app/packages/site
COPY --chown=astro:nodejs /app/packages/site/dist ./dist # buildkit
COPY --chown=astro:nodejs /app/packages/site/node_modules ./node_modules # buildkit
COPY --chown=astro:nodejs /app/node_modules /app/node_modules # buildkit
COPY --chown=astro:nodejs /app/packages/site/cache ./cache # buildkit
USER astro
EXPOSE [4321/tcp]
ENV HOST=0.0.0.0
ENV PORT=4321
CMD ["node" "./dist/server/entry.mjs"]

Labels

Key Value
org.opencontainers.image.created 2026-09-07T18:30:01Z
org.opencontainers.image.revision 512360fab24ce9cd3b0f2d2e8b3c2dcaf67068dd
org.opencontainers.image.source https://forgejo.isbl.cz/isabella/brehoni.cz.git
org.opencontainers.image.url https://forgejo.isbl.cz/isabella/brehoni.cz
Details
Container
2026-09-07 18:34:32 +00:00
6
OCI / Docker
linux/arm64
353 MiB
Versions (6) View all
sha-512360fa 2026-09-07
latest 2026-09-07
sha-06ff888f 2026-09-07
sha-7c231fcf 2026-08-23
sha-40e03707 2026-08-22