#308 — Build docker image for both amd64 and arm64 (#311)

* Build for both amd64 and arm64

* Moving line to retrigger Actions check

* Removal of the `platform` flag—let system choose

* Indicate to apt-get that there is no frontend
This commit is contained in:
Anthony Atkinson
2023-12-18 03:43:12 -05:00
committed by GitHub
parent f2c68a9511
commit e6709b0f5e
3 changed files with 4 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
.DEFAULT_GOAL := build_pdf
DOCKER_IMAGE := ghcr.io/hendricius/the-sourdough-framework
DOCKER_CMD := docker run -it -v $(PWD):/opt/repo --platform linux/x86_64 $(DOCKER_IMAGE) /bin/bash -c
DOCKER_CMD := docker run -it -v $(PWD):/opt/repo $(DOCKER_IMAGE) /bin/bash -c
.PHONY: bake build_pdf build_docker_image push_docker_image validate website
.PHONY: print_os_version start_shell printvars show_tools_version mrproper