feat: ARM64 support for Python
This commit is contained in:
4
.github/workflows/python.yml
vendored
4
.github/workflows/python.yml
vendored
@@ -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,4 +1,4 @@
|
||||
FROM python:2.7-slim
|
||||
FROM --platform=$TARGETOS/$TARGETARCH python:2.7-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
FROM python:3.10-slim
|
||||
FROM --platform=$TARGETOS/$TARGETARCH python:3.10-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
FROM python:3.7-slim
|
||||
FROM --platform=$TARGETOS/$TARGETARCH python:3.7-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
FROM python:3.8-slim
|
||||
FROM --platform=$TARGETOS/$TARGETARCH python:3.8-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
FROM python:3.9-slim
|
||||
FROM --platform=$TARGETOS/$TARGETARCH python:3.9-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
|
Reference in New Issue
Block a user