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

This reverts commit e6709b0f5e.
This commit is contained in:
Hendrik Kleinwaechter
2023-12-18 12:37:04 +01:00
committed by GitHub
parent e6709b0f5e
commit 99031a72df
3 changed files with 3 additions and 4 deletions

View File

@@ -49,7 +49,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.determine_tag.outputs.tag }}
labels: ${{ steps.meta.outputs.labels }}

View File

@@ -10,7 +10,7 @@ RUN cat /etc/*release*
# Install base depdendencies
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes -y --no-install-recommends \
apt-get install --yes -y --no-install-recommends \
sudo \
make \
tidy \
@@ -42,7 +42,7 @@ RUN apt-get update && \
# Install TeX
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
apt-get install -y --no-install-recommends \
texlive-full \
texlive-luatex

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 $(DOCKER_IMAGE) /bin/bash -c
DOCKER_CMD := docker run -it -v $(PWD):/opt/repo --platform linux/x86_64 $(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