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/