| LABEL maintainer="Red Hat, Inc." |
| LABEL vendor="Red Hat, Inc." |
| LABEL url="https://catalog.redhat.com/en/search?searchType=containers" |
| LABEL com.redhat.component="ubi9-minimal-container" name="ubi9/ubi-minimal" version="9.8" cpe="cpe:/a:redhat:enterprise_linux:9::appstream" distribution-scope="public" |
| LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" |
| LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9." |
| LABEL description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." |
| LABEL io.k8s.description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." |
| LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal" |
| LABEL io.openshift.expose-services="" |
| LABEL io.openshift.tags="minimal rhel9" |
| ENV container oci |
| COPY dir:efac128f83583a6247aea2e1de3f354267a91fa9afbb47889a2bebf40b22f4af in / |
| COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/. |
| CMD ["/bin/bash"] |
| COPY dir:041b210b17febe96db30cba4f2b22eb7e05f976482f5a304098344e035b1cad8 in /usr/share/buildinfo/ |
| COPY dir:041b210b17febe96db30cba4f2b22eb7e05f976482f5a304098344e035b1cad8 in /root/buildinfo/ |
| LABEL "org.opencontainers.image.created"="2026-06-30T05:29:15Z" "org.opencontainers.image.revision"="9d52f7ccf5e43749249b95c398cdcb9020bc399d" "build-date"="2026-06-30T05:29:15Z" "architecture"="x86_64" "vcs-ref"="9d52f7ccf5e43749249b95c398cdcb9020bc399d" "vcs-type"="git" "release"="1782797275"org.opencontainers.image.created=2026-06-30T05:29:15Z,org.opencontainers.image.revision=9d52f7ccf5e43749249b95c398cdcb9020bc399d |
| LABEL org.opencontainers.image.title=pocketbase-docker |
| LABEL org.opencontainers.image.description=Unofficial configurable PocketBase Docker image with full environment-based setup |
| LABEL org.opencontainers.image.url=https://github.com/narra-antonio/pocketbase-docker |
| LABEL org.opencontainers.image.source=https://github.com/narra-antonio/pocketbase-docker |
| LABEL org.opencontainers.image.licenses=MIT |
| LABEL org.opencontainers.image.authors=Antonio Narra <antonio@antonionarra.io> |
| RUN /bin/sh -c microdnf install -y ca-certificates tzdata bash wget shadow-utils && microdnf clean all # buildkit |
| RUN /bin/sh -c groupadd -g 1000 pocketbase && useradd -u 1000 -g pocketbase -s /bin/bash -M pocketbase # buildkit |
| WORKDIR /app |
| COPY /tmp/pocketbase /app/pocketbase # buildkit |
| COPY --chown=pocketbase:pocketbase pb_migrations/1000000000_initial_settings.js /app/pb_migrations_default/1000000000_initial_settings.js # buildkit |
| COPY --chown=pocketbase:pocketbase docker-entrypoint.sh /app/docker-entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /app/docker-entrypoint.sh # buildkit |
| RUN /bin/sh -c mkdir -p /pb_data /pb_migrations /pb_hooks /pb_public /pb_templates && chown -R pocketbase:pocketbase /pb_data /pb_migrations /pb_hooks /pb_public /pb_templates /app # buildkit |
| USER pocketbase |
| EXPOSE [8090/tcp] |
| VOLUME [/pb_data /pb_migrations /pb_hooks /pb_public /pb_templates] |
| HEALTHCHECK {Test:[CMD-SHELL wget --no-verbose --tries=1 --spider http://localhost:${PB_PORT:-8090}/api/health || exit 1] Interval:30s Timeout:5s StartPeriod:15s StartInterval:0s Retries:3} |
| ENTRYPOINT ["/app/docker-entrypoint.sh"] |