Max

kontor/pocketbase (sha256:cf4cf0c3fb740288f58496242ec1ea0e8f2d6f421378e4d8e77a08d79f5d3fb2)

Published 2026-09-09 10:58:33 +00:00 by Max

Installation

docker pull forgejo.apps.zenodev.com/max/kontor/pocketbase@sha256:cf4cf0c3fb740288f58496242ec1ea0e8f2d6f421378e4d8e77a08d79f5d3fb2
sha256:cf4cf0c3fb740288f58496242ec1ea0e8f2d6f421378e4d8e77a08d79f5d3fb2

Image layers

ADD alpine-minirootfs-3.22.5-aarch64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG PB_VERSION=0.40.1
ARG TARGETARCH=arm64
RUN |2 PB_VERSION=0.40.1 TARGETARCH=arm64 /bin/sh -c test -n "$PB_VERSION" || (echo "PB_VERSION build arg is required" && false) # buildkit
RUN |2 PB_VERSION=0.40.1 TARGETARCH=arm64 /bin/sh -c apk add --no-cache ca-certificates tzdata unzip wget && wget -qO /tmp/pb.zip "https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_${TARGETARCH}.zip" && unzip -q /tmp/pb.zip pocketbase -d /usr/local/bin && chmod +x /usr/local/bin/pocketbase && rm /tmp/pb.zip # buildkit
WORKDIR /pb
COPY pb/pb_migrations/ /pb/pb_migrations/ # buildkit
COPY pb/pb_hooks/ /pb/pb_hooks/ # buildkit
COPY pb/templates/ /pb/templates/ # buildkit
EXPOSE [8090/tcp]
CMD ["pocketbase" "serve" "--http=0.0.0.0:8090" "--dir=/pb/pb_data" "--migrationsDir=/pb/pb_migrations" "--hooksDir=/pb/pb_hooks"]
Details
Container
2026-09-09 10:58:33 +00:00
0
OCI / Docker
linux/arm64
19 MiB
Versions (3) View all
f1093e0 2026-09-09
latest 2026-09-09
buildcache 2026-09-09