From 891757dab5869d712efd88da9cb1c56e3f75beaa Mon Sep 17 00:00:00 2001 From: TheophileDiot Date: Mon, 14 Nov 2022 15:20:50 +0100 Subject: [PATCH] Add support for arm + change scheduler python version --- src/autoconf/Dockerfile | 2 +- src/scheduler/Dockerfile | 4 ++-- src/ui/Dockerfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/autoconf/Dockerfile b/src/autoconf/Dockerfile index 16ff40fa3..e20bbae1b 100644 --- a/src/autoconf/Dockerfile +++ b/src/autoconf/Dockerfile @@ -9,7 +9,7 @@ RUN mkdir -p /usr/share/bunkerweb/deps && \ rm -rf /tmp/req # Install dependencies -RUN apk add --no-cache --virtual .build-deps g++ gcc && \ +RUN apk add --no-cache --virtual .build-deps g++ gcc libffi-dev && \ pip install --no-cache-dir --upgrade pip && \ pip install wheel && \ mkdir -p /usr/share/bunkerweb/deps/python && \ diff --git a/src/scheduler/Dockerfile b/src/scheduler/Dockerfile index a3a54b31b..00626fbe5 100644 --- a/src/scheduler/Dockerfile +++ b/src/scheduler/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-alpine +FROM python:3.10-alpine # Copy python requirements COPY src/scheduler/requirements.txt /tmp/req/requirements.txt @@ -10,7 +10,7 @@ RUN mkdir -p /usr/share/bunkerweb/deps && \ rm -rf /tmp/req # Install python requirements -RUN apk add --no-cache --virtual .build-deps g++ gcc && \ +RUN apk add --no-cache --virtual .build-deps g++ gcc libffi-dev && \ pip install --no-cache-dir --upgrade pip && \ pip install wheel && \ mkdir -p /usr/share/bunkerweb/deps/python && \ diff --git a/src/ui/Dockerfile b/src/ui/Dockerfile index 022c85539..cc30e5718 100755 --- a/src/ui/Dockerfile +++ b/src/ui/Dockerfile @@ -21,7 +21,7 @@ RUN mkdir -p /usr/share/bunkerweb/deps && \ rm -rf /tmp/req # Install python requirements -RUN apk add --no-cache --virtual .build-deps g++ gcc && \ +RUN apk add --no-cache --virtual .build-deps g++ gcc libffi-dev && \ pip install --no-cache-dir --upgrade pip && \ pip install wheel && \ mkdir -p /usr/share/bunkerweb/deps/python && \