Files
mdm-ordinis/ordinis-migrations/Dockerfile
T
2026-06-20 21:45:56 +00:00

12 lines
468 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Liquibase migration image — запускается Helm pre-upgrade Job (1-shot, без Spring Boot)
FROM repo.nstart.cloud/dockerhub/liquibase/liquibase:4.27.0
USER root
COPY src/main/resources/db/changelog /liquibase/changelog
USER liquibase
ENV LIQUIBASE_COMMAND_CHANGELOG_FILE=/liquibase/changelog/master.xml
# Helm Job переопределяет JDBC URL через ENV
# CMD: ["update"] (default из base image работает с LIQUIBASE_COMMAND_*)