mirror of
https://github.com/tgbot-collection/YYeTsBot.git
synced 2025-11-25 19:37:34 +08:00
fix alpine upstream build failiure
https://stackoverflow.com/questions/68013058/alpine3-14-docker-libtls-so-20-conflict
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM python:3.9-alpine as pybuilder
|
||||
FROM python:3.9-alpine3.13 as pybuilder
|
||||
|
||||
RUN apk update && apk add --no-cache tzdata ca-certificates alpine-sdk libressl-dev libffi-dev cargo && \
|
||||
apk add tiff-dev jpeg-dev openjpeg-dev zlib-dev freetype-dev lcms2-dev \
|
||||
@@ -8,7 +8,7 @@ COPY requirements.txt /requirements.txt
|
||||
RUN pip3 install --user -r /requirements.txt && rm /requirements.txt
|
||||
|
||||
|
||||
FROM python:3.9-alpine as runner
|
||||
FROM python:3.9-alpine3.13 as runner
|
||||
RUN apk update && apk add --no-cache libressl jpeg-dev openjpeg-dev libimagequant-dev tiff-dev freetype-dev libxcb-dev
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user