feat: ARM64 support for Python

This commit is contained in:
Alex committed 2021-10-22 15:30:43 +03:00
1 parent 8ba8f2f811
commit 7b66879352
6 files changed
+8 -6

No files matched your search

+3 -1
View File
@@ -23,6 +23,8 @@ jobs:
- '3.10'
steps:
- uses: actions/checkout@v2
# Setup QEMU for ARM64 Build
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
with:
version: "v0.5.1"
@@ -36,7 +38,7 @@ jobs:
with:
context: ./python
file: ./python/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/parkervcp/yolks:python_${{ matrix.tag }}
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:2.7-slim
FROM --platform=$TARGETOS/$TARGETARCH python:2.7-slim
LABEL author="Michael Parker" maintainer="[email protected]"
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM --platform=$TARGETOS/$TARGETARCH python:3.10-slim
LABEL author="Michael Parker" maintainer="[email protected]"
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.7-slim
FROM --platform=$TARGETOS/$TARGETARCH python:3.7-slim
LABEL author="Michael Parker" maintainer="[email protected]"
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.8-slim
FROM --platform=$TARGETOS/$TARGETARCH python:3.8-slim
LABEL author="Michael Parker" maintainer="[email protected]"
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM --platform=$TARGETOS/$TARGETARCH python:3.9-slim
LABEL author="Michael Parker" maintainer="[email protected]"