Skip to content
Semantic Versioner edited this page Aug 8, 2019 · 1 revision

Running auto-semver in a container

Build the docker container.

docker build -t semver .

Run auto-semver from the container!

Auto-semver requries a directory to be mounted to its workspace and user permissions to be based.

sudo docker run -v [gitDirectory]:/workspace --user [uid]:[group id] semver

The Dockerfile

The Dockerfile used by Deployer uses the centos/python-36-centos7 image as a foundation and installs deployer for Python 3.6.

The image runs with the user semverUser after install as root.

See the Dockerfile for more info

Clone this wiki locally