Skip to content

Jinntec/hsg-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hsg-project

Docker repo for HSG project

Build and run Dockerfile on your local machine

  1. build: docker build -t hsg-project .
  2. run: docker run -p 8080:8080 hsg-project

Build and publish new Docker image

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.

About

Docker repo for HSG project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published