- Available on docker hub: https://hub.docker.com/r/zostera/django-ci/
- Based on: https://hub.docker.com/r/wooyek/geodjango/ (Thanks!)
License: MIT
docker build -t zostera/django-ci .
...
...
Successfully built 5150f0103068
docker push zostera/django-ci
On M1 macs:
docker buildx create --use
docker buildx build --platform linux/amd64,linux/arm64 --push -t zostera/django-ci .
brew cask install docker # then in apps click on docker app to get in running (whale icon in top bar)
# build image
docker build -t zostera/django-ci .
# run image in container and run django-entrypoint.sh + bash command to open bash prompt
docker run -it zostera/django-ci bash
# stop container
docker container stop <container-id>
# Build image:
docker build -t zostera/django-ci .
# Run tox in the container:
# (current directory is a checkout of https://github.com/observation/observation.org)
docker run --mount type=bind,source=${PWD},target=/github/workspace --workdir=/github/workspace -it zostera/django-ci tox -e django