brehoni-site (sha256:acbd98848b3b186c42c50ec17558f91fe66d3633ea8739772e7e3c10989334bc)

Published 2026-08-22 22:28:30 +00:00 by isabella in isabella/brehoni.cz

Installation

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

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.22.0 PNPM_SHA256_AMD64=4c592fa410eb23b69691a9efb9bf21c87c15b3e9d88c6ec8acdd354a0eb8de71 PNPM_SHA256_ARM64=f1426231f365bdfd46c15fa3d1211c3936ee2c4e557afd304f6c66dbf1b2a8bf 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-08-22T22:24:30Z
org.opencontainers.image.revision eadbd027c79b67405667870725d0e1ded78b13d8
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-08-22 22:28:30 +00:00
3
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