harinworks-com (sha256:09b782bfccfc68813a96841f4cd81212802a43daeec1d9df0d8ca066985a5444)
Published 2026-05-21 23:41:26 +09:00 by harinworks
Installation
docker pull git.harinx.com/harinworks/harinworks-com@sha256:09b782bfccfc68813a96841f4cd81212802a43daeec1d9df0d8ca066985a5444sha256:09b782bfccfc68813a96841f4cd81212802a43daeec1d9df0d8ca066985a5444Image layers
| # debian.sh --arch 'amd64' 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.2.2 PNPM_SHA256_AMD64=a35b592d85a208222fc354f15e9f04d08add1aff1382a30b48094ea8b618a302 PNPM_SHA256_ARM64=8c5da2d27cd86ac0ce0cee6d0b8d79b6353612351f761de3707dbc9d09d303fc TARGETARCH=amd64 /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 |
| LABEL maintainer=Harin Lee <me@harin.net> |
| WORKDIR /app |
| COPY /app/build ./build # buildkit |
| COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ # buildkit |
| RUN /bin/sh -c pnpm i --frozen-lockfile -P # buildkit |
| ENV NODE_ENV=production |
| ENV PORT=80 |
| EXPOSE [80/tcp] |
| CMD ["node" "build"] |
Labels
| Key | Value |
|---|---|
| maintainer | Harin Lee <me@harin.net> |
| org.opencontainers.image.created | 2026-05-21T14:33:19.443Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | 9823f9a9efa861e658a470757081d61e86a8a2bf |
| org.opencontainers.image.source | https://git.harinx.com/harinworks/harinworks-com |
| org.opencontainers.image.title | harinworks-com |
| org.opencontainers.image.url | https://git.harinx.com/harinworks/harinworks-com |
| org.opencontainers.image.version | latest |
Details
2026-05-21 23:41:26 +09:00
Versions (76)
View all
Container
1
OCI / Docker
linux/amd64
176 MiB