Skip to content

xtracdev/docker-flyway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This Dockerfile produces a container that can be used to run flyway. This could be useful in situations such as configuring a schema in a CI pipeline.

To run, include any volumes needed to locate the conf and migration files, and run using standard arguments, e.g.

docker run -v $PWD:/fwmnt xtracdev/flyway:4.0.3 -user=esdbo -password=password -locations=filesystem:/fwmnt/migration -configFile=/fwmnt/flyway.conf info

To build the docker image, you need to copy in the Oracle JDBC jar ojdbc7.jar to this directory. You'll need to download the jdbc driver from Oracle. We are unable to distribute the jar file because reasons.

Note: if you get an ORA-01882: timezone region not found error using the above command, specify the TZ environment variable as an environment argument to docker, e.g. docker run -e TZ=GMT -v etc

About

Run flyway from a container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published