From 61bc6e4b4da66b5589e6122dcbb988c108d3aed8 Mon Sep 17 00:00:00 2001 From: umbra audio Date: Sun, 1 Nov 2026 06:02:33 -0800 Subject: [PATCH] Fix Dockerfile: Remove broken apt-get install, rely on CloudNativePG base image extensions --- Dockerfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 523173c..39e2e1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,19 +3,10 @@ # UmbraDatastore - PostgreSQL with UmbraTrans schema # Based on CloudNativePG PostgreSQL 16.4 +# Note: CloudNativePG base image already includes pgcrypto, uuid-ossp, citext extensions FROM ghcr.io/cloudnative-pg/postgresql:16.4 -# Install additional extensions if needed -USER root -RUN apt-get update && apt-get install -y --no-install-recommends \ - postgresql-16-pgcrypto \ - postgresql-16-uuid-ossp \ - && rm -rf /var/lib/apt/lists/* - -# Switch back to postgres user -USER postgres - # Copy migration scripts to be run on initialization # These will be executed by CNPG's postInitApplicationSQL or via initdb COPY migrations/ /docker-entrypoint-initdb.d/