Files
Assistant/deploy/images/postgres.Dockerfile
m d5cd964e51
CI / test (push) Successful in 11s
CI / test (pull_request) Successful in 11s
deploy: attest production artifact revision
2026-08-16 19:53:00 +03:00

9 lines
452 B
Docker

FROM postgres:18.6-alpine
ARG SOURCE_REVISION=unknown
LABEL org.opencontainers.image.revision=$SOURCE_REVISION \
org.opencontainers.image.source="https://git.cin.su/m/Assistant.git"
COPY database/bootstrap/001_roles_and_schemas.sql /docker-entrypoint-initdb.d/001_roles_and_schemas.sql
COPY deploy/images/002_owner_passwords.sh /docker-entrypoint-initdb.d/002_owner_passwords.sh
RUN chmod 0555 /docker-entrypoint-initdb.d/002_owner_passwords.sh