Skip to content

Commit 6ee9983

Browse files
committed
Revise docker-build.yml
Signed-off-by: Ian Hoang <ianhoang16@gmail.com>
1 parent 7997a56 commit 6ee9983

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/docker-build.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ jobs:
2020
matrix:
2121
platform: ['linux/amd64', 'linux/arm64']
2222
steps:
23-
- name: Set up QEMU
24-
uses: docker/setup-qemu-action@v3
23+
# - name: Set up QEMU
24+
# uses: docker/setup-qemu-action@v3
25+
- name: Run QEMU manual setup
26+
run: |
27+
docker pull tonistiigi/binfmt:latest
28+
docker run --privileged --rm tonistiigi/binfmt --uninstall qemu-*
29+
docker run --privileged --rm tonistiigi/binfmt --install all
2530
2631
- name: Set up Docker Buildx
2732
uses: docker/setup-buildx-action@v3

docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
FROM python:3.11.2-slim AS build-stage
99

10-
RUN apt-get update -y && apt-get install -y qemu
10+
RUN apt-get update -y
1111
RUN apt-get install -y curl
1212
RUN apt-get install -y git
1313
RUN apt-get install -y gcc

0 commit comments

Comments
 (0)