This repository has been archived on 2026-11-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Concilium/docker/Dockerfile.migrations
james.maesandClaude Opus 4.6 0ac0f4ec75 feat: add Docker dev stack with Postgres and MinIO
Docker Compose configuration for local development with PostgreSQL 17
and MinIO (S3-compatible object storage). Includes helper scripts for
start/stop, multi-database init, Liquibase migrations Dockerfile, and
production Dockerfile using distroless Java 21.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 09:21:06 -05:00

15 lines
584 B
Docker

FROM liquibase/liquibase:4.30.0
USER root
RUN apt-get update && apt-get upgrade -y && rm -rf /var/lib/apt/lists/* \
&& rm -f /liquibase/bin/lpm \
&& chmod 755 /liquibase
USER liquibase
ADD --chmod=644 https://repo1.maven.org/maven2/org/postgresql/postgresql/42.7.2/postgresql-42.7.2.jar /liquibase/lib/postgresql.jar
COPY concilium-core/src/main/resources/db/ /liquibase/db/
ENTRYPOINT ["liquibase", \
"--changelog-file=db/liquibase/changelog.yaml", \
"--url=${LIQUIBASE_URL}", \
"--username=${LIQUIBASE_USERNAME}", \
"--password=${LIQUIBASE_PASSWORD}", \
"update"]