add arm64 support

This commit is contained in:
FuzzyGrim
2024-02-17 20:35:26 +01:00
parent 1f2968d008
commit 3e01afd908
2 changed files with 4 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
@@ -84,4 +84,4 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false
platforms: linux/amd64
platforms: linux/amd64,linux/arm64

View File

@@ -6,9 +6,9 @@ ENV PYTHONUNBUFFERED=1
COPY ./requirements.txt /requirements.txt
RUN apt-get update \
&& apt-get install -y --no-install-recommends gosu \
&& apt-get install -y --no-install-recommends g++ gosu \
&& pip install --no-cache-dir -r /requirements.txt \
&& apt-get -y autoremove --purge \
&& apt-get -y autoremove --purge g++ \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*