From 234fe033ac96f2653fc7ec04d05609dfb5611b63 Mon Sep 17 00:00:00 2001 From: tajniak81 <13187254+tajniak81@users.noreply.github.com> Date: Mon, 19 Oct 2026 16:56:19 +0200 Subject: [PATCH] Bump PocketBase to 0.40.3 Co-Authored-By: Claude Opus 5.5 --- .env.example | 2 +- Dockerfile.root | 2 +- Dockerfile.rootless | 2 +- README.md | 8 ++++---- docker-compose.root.yml | 4 ++-- docker-compose.rootless.yml | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.env.example b/.env.example index 2b17c5c..8314c19 100644 --- a/.env.example +++ b/.env.example @@ -4,7 +4,7 @@ # ── General ─────────────────────────────────────────────────────────── # PocketBase version to build (must match a published release tag, without the leading "v") -PB_VERSION=0.40.2 +PB_VERSION=0.40.3 # Name of the running container CONTAINER_NAME=pocketbase diff --git a/Dockerfile.root b/Dockerfile.root index d4311ae..d36da0b 100644 --- a/Dockerfile.root +++ b/Dockerfile.root @@ -3,7 +3,7 @@ # ---- build stage: fetch + verify + unzip PocketBase ---- FROM alpine:3.22 AS build -ARG PB_VERSION=0.40.2 +ARG PB_VERSION=0.40.3 # provided automatically by buildx (e.g. amd64, arm64) ARG TARGETARCH diff --git a/Dockerfile.rootless b/Dockerfile.rootless index 54d79a7..a5ee1d3 100644 --- a/Dockerfile.rootless +++ b/Dockerfile.rootless @@ -3,7 +3,7 @@ # ---- build stage: fetch + verify + unzip PocketBase ---- FROM alpine:3.22 AS build -ARG PB_VERSION=0.40.2 +ARG PB_VERSION=0.40.3 # provided automatically by buildx (e.g. amd64, arm64) ARG TARGETARCH diff --git a/README.md b/README.md index 48bc7b5..c61edbc 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Copy `.env.example` to `.env` and adjust. Compose reads `.env` automatically; ** | Variable | Default | Description | |---|---|---| -| `PB_VERSION` | `0.40.2` | PocketBase release to build (published tag without the leading `v`). | +| `PB_VERSION` | `0.40.3` | PocketBase release to build (published tag without the leading `v`). | | `CONTAINER_NAME` | `pocketbase` | Base name for the container. | | `PB_PORT` | `8070` | Port for the rootless stack (used inside the container and for the host mapping). | | `PB_PORT_ROOT` | `8070` | Port for the root stack. | @@ -92,14 +92,14 @@ You can also bake `pb_migrations` / `pb_hooks` into the image by uncommenting th ```bash # pin a version -PB_VERSION=0.40.2 docker compose -f docker-compose.rootless.yml build +PB_VERSION=0.40.3 docker compose -f docker-compose.rootless.yml build # multi-arch build with buildx docker buildx build \ --platform linux/amd64,linux/arm64 \ - --build-arg PB_VERSION=0.40.2 \ + --build-arg PB_VERSION=0.40.3 \ -f Dockerfile.rootless \ - -t pocketbase:0.40.2 . + -t pocketbase:0.40.3 . ``` ### Bumping the pinned version diff --git a/docker-compose.root.yml b/docker-compose.root.yml index 0453d49..cd378cc 100644 --- a/docker-compose.root.yml +++ b/docker-compose.root.yml @@ -10,8 +10,8 @@ services: dockerfile: Dockerfile.root args: # PocketBase version to bake into the image (see .env) - PB_VERSION: ${PB_VERSION:-0.40.2} - image: pocketbase:${PB_VERSION:-0.40.2}-root + PB_VERSION: ${PB_VERSION:-0.40.3} + image: pocketbase:${PB_VERSION:-0.40.3}-root container_name: ${CONTAINER_NAME:-pocketbase}-root restart: unless-stopped environment: diff --git a/docker-compose.rootless.yml b/docker-compose.rootless.yml index e5d5ed9..1647c70 100644 --- a/docker-compose.rootless.yml +++ b/docker-compose.rootless.yml @@ -10,8 +10,8 @@ services: dockerfile: Dockerfile.rootless args: # PocketBase version to bake into the image (see .env) - PB_VERSION: ${PB_VERSION:-0.40.2} - image: pocketbase:${PB_VERSION:-0.40.2} + PB_VERSION: ${PB_VERSION:-0.40.3} + image: pocketbase:${PB_VERSION:-0.40.3} container_name: ${CONTAINER_NAME:-pocketbase} restart: unless-stopped environment: