Docker repo for HSG project
- build:
docker build -t hsg-project .
- run:
docker run -p 8080:8080 hsg-project
- Docker Hub: https://hub.docker.com/r/joewiz/hsg-project
Publishing docker images is automated via CI. Publishing from local environments is strongly discouraged. If you need to push from a local environment to the docker hub registry separate caches for arm
and x86
are necessary. The default buildchache
is not in use on CI.
Building multi-arch images without a recent build cache is slow.
docker buildx build --platform linux/arm64 --cache-from joewiz/hsg-project:buildcache-arm -t joewiz/hsg-project .
docker buildx build --platform linux/amd64 --cache-from joewiz/hsg-project:buildcache-x86 -t joewiz/hsg-project .
docker buildx build --platform linux/amd64,linux/arm64 -t joewiz/hsg-project --cache-to joewiz/hsg-project:buildcache-x86 --cache-to joewiz/hsg-project:buildcache-arm --push.