From 74269a34594e1d4615b7edf592f6815a6c29a061 Mon Sep 17 00:00:00 2001 From: LPM Date: Wed, 13 Aug 2025 11:54:16 -0400 Subject: [PATCH 1/4] Update README.md --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4a27a4d..91c3fbf 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,16 @@ Unoffical Pocketbase Docker Container Support the original project: https://github.com/pocketbase/pocketbase -This Repo sets up the Github Actions to build and deploy to Dockerhub the `azatecas/pocketbase` multiarch image. -It does not build pocketbase from scratch, but rather pull the official release from the original Pocketbase Repo and containarize it. +This Repo sets up the Github Actions to build and deploy to Dockerhub the [azatecas/pocketbase](https://hub.docker.com/repository/docker/azatecas/pocketbase) multiarch image. +It does not build pocketbase from scratch, but rather pull the [official release](https://github.com/pocketbase/pocketbase/releases) from the original Pocketbase Repo and containarize it. -Current pocketbase architecture supported by this repo: +Current Pocketbase container architecture supported by this repo: - amd64 - arm64 - armv7 -This image is being used in production, so we will do our best to build after each new Pocketbase release, although it may take a few days. +This image is being used in production, so we will do our best to build after each new Pocketbase release, although it may take a few days after each official release and there may be additional time limitations since we are using the free tier of github actions which have usage limits :) + Suggested `docker-compose.yml` configuration @@ -41,4 +42,4 @@ services: `ENCRYPTION` - OPTIONAL is used to encrypt settings in the current pocketbase instance. `COMMON_PATH` - refers to the root of the project. -for more read the offical Pocketbase documentation: https://pocketbase.io/docs \ No newline at end of file +for more read the offical Pocketbase documentation: https://pocketbase.io/docs From f2a2319f07fcd4b3c05fb12d9aab3e13a3a1b6cc Mon Sep 17 00:00:00 2001 From: LPM Date: Wed, 13 Aug 2025 12:21:09 -0400 Subject: [PATCH 2/4] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 91c3fbf..2c84666 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,9 @@ services: container_name: pocketbase image: azatecas/pocketbase restart: unless-stopped + command: + - --encryptionEnv + - ENCRYPTION environment: ENCRYPTION: ${ENCRYPTION} # optional (Ensure this is a 32-character long encryption key https://pocketbase.io/docs/going-to-production/#enable-settings-encryption) ports: From 2620cafc85f04521d2e43465e83b3307532f267f Mon Sep 17 00:00:00 2001 From: LPM Date: Wed, 13 Aug 2025 12:22:46 -0400 Subject: [PATCH 3/4] Update build-pocketbase-amd64.yml --- .github/workflows/build-pocketbase-amd64.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-pocketbase-amd64.yml b/.github/workflows/build-pocketbase-amd64.yml index acca3ea..eae31fb 100644 --- a/.github/workflows/build-pocketbase-amd64.yml +++ b/.github/workflows/build-pocketbase-amd64.yml @@ -27,7 +27,6 @@ jobs: with: images: docker.io/${{ vars.DOCKERHUB_USERNAME }}/pocketbase tags: | - type=raw,value=build-${{ github.run_number }} type=raw,value=${{ vars.PB_VERSION }} type=raw,value=latest - From fcd49a5f863adc30dc980feaff471dcd5907cf6f Mon Sep 17 00:00:00 2001 From: LPM Date: Mon, 8 Sep 2025 12:01:07 -0400 Subject: [PATCH 4/4] Update Pocketbase from 0.29.3 -> 0.30.0 - Updated pocketbase version from 0.29.3 -> 0.30.0 - Added Dockerfile RUN to remove `unzip` at the end due to serious CVE --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e4dcb91..d6c668b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:latest -ARG PB_VERSION=0.29.2 +ARG PB_VERSION=0.30.0 ARG TARGETARCH @@ -33,6 +33,7 @@ RUN case "$TARGETARCH" in \ # uncomment to copy the local pb_hooks dir into the image # COPY ./pb_hooks /pb/pb_hooks +RUN apk del unzip EXPOSE 8080