Add support for arm + change scheduler python version

This commit is contained in:
TheophileDiot 2022-11-14 15:20:50 +01:00
parent 630cf8b885
commit 891757dab5
3 changed files with 4 additions and 4 deletions

View File

@ -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 && \

View File

@ -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 && \

View File

@ -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 && \