From 163958dba89e7cdaec43e555dd542209bed680b9 Mon Sep 17 00:00:00 2001 From: Vasilis Koulis Date: Thu, 11 Apr 2024 02:06:20 +0300 Subject: [PATCH] Try docker other platforms --- .github/workflows/docker-publish.yml | 1 + Dockerfile | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 7414023..72a0ef7 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -62,5 +62,6 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/Dockerfile b/Dockerfile index d05b86a..534af7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,9 @@ -FROM python:3-slim +FROM python:3.9-slim + +RUN apt update && apt install -y gcc libssl-dev libffi-dev +RUN curl https://sh.rustup.rs -sSf | sh +RUN pip3 install -U pip +RUN pip3 install --no-cache-dir cryptography WORKDIR /opt/lnxlink