Just a Dockerfile moved from sqldef#16.
$ docker build -t sqldef .
$ docker build -t sqldef --build-arg VERSION=v0.x.y .
docker run -it --rm sqldef
docker run -it --rm sqldef mysqldef --help
Modify SQLDEF_VERSION
to point to the sqldef github tag you intend to build.
Modify VERSION
to indicate container release.
For local builds:
bin/build.sh
For builds intended for dockerhub:
DOCKER_REPO=docker.io/username bin/build.sh
For local runs:
bin/run.sh
To publish to duckerhub:
bin/push.sh username