|
@ -12,17 +12,20 @@ ENV DEBIAN_FRONTEND=noninteractive |
|
|
# https://packages.ubuntu.com/search?suite=focal§ion=all&arch=any&keywords=curl&searchon=names |
|
|
# https://packages.ubuntu.com/search?suite=focal§ion=all&arch=any&keywords=curl&searchon=names |
|
|
RUN ln -fs /usr/share/zoneinfo/UCT /etc/localtime \ |
|
|
RUN ln -fs /usr/share/zoneinfo/UCT /etc/localtime \ |
|
|
&& apt-get update -y \ |
|
|
&& apt-get update -y \ |
|
|
&& apt-get install -y --fix-missing \ |
|
|
|
|
|
build-essential=12.8ubuntu1 \ |
|
|
|
|
|
curl=7.68.0-1ubuntu2.7 \ |
|
|
|
|
|
ffmpeg=7:4.2.4-1ubuntu0.1 \ |
|
|
|
|
|
opus-tools=0.1.10-1 \ |
|
|
|
|
|
optipng=0.7.7-1 \ |
|
|
|
|
|
python3=3.8.2-0ubuntu2 \ |
|
|
|
|
|
python3-distutils=3.8.10-0ubuntu1~20.04 \ |
|
|
|
|
|
python3-apt=2.0.0ubuntu0.20.04.3 \ |
|
|
|
|
|
tzdata=2021e-0ubuntu0.20.04 \ |
|
|
|
|
|
webp=0.6.1-2ubuntu0.20.04.1 |
|
|
|
|
|
|
|
|
&& apt-get install -f -y --no-install-recommends \ |
|
|
|
|
|
build-essential=12.8ubuntu1 \ |
|
|
|
|
|
curl=7.68.0-1ubuntu2.7 \ |
|
|
|
|
|
ffmpeg=7:4.2.4-1ubuntu0.1 \ |
|
|
|
|
|
opus-tools=0.1.10-1 \ |
|
|
|
|
|
optipng=0.7.7-1 \ |
|
|
|
|
|
python-pip-whl=20.0.2-5ubuntu1.5 \ |
|
|
|
|
|
python3=3.8.2-0ubuntu2 \ |
|
|
|
|
|
python3-pip=20.0.2-5ubuntu1.5 \ |
|
|
|
|
|
python3-distutils=3.8.10-0ubuntu1~20.04 \ |
|
|
|
|
|
python3-apt=2.0.0ubuntu0.20.04.3 \ |
|
|
|
|
|
tzdata=2021e-0ubuntu0.20.04 \ |
|
|
|
|
|
webp=0.6.1-2ubuntu0.20.04.1 \ |
|
|
|
|
|
&& apt-get upgrade -y |
|
|
|
|
|
|
|
|
WORKDIR /tmp |
|
|
WORKDIR /tmp |
|
|
|
|
|
|
|
@ -38,6 +41,7 @@ RUN curl -LS -o mozjpeg.deb "https://nexus.nulloctet.com/repository/public/mozjp |
|
|
ARG POETRY_VERSION="1.1.12" |
|
|
ARG POETRY_VERSION="1.1.12" |
|
|
RUN curl -sSL "https://raw.githubusercontent.com/python-poetry/poetry/${POETRY_VERSION}/get-poetry.py" | python3 - |
|
|
RUN curl -sSL "https://raw.githubusercontent.com/python-poetry/poetry/${POETRY_VERSION}/get-poetry.py" | python3 - |
|
|
ENV PATH="${PATH}:/root/.poetry/bin" |
|
|
ENV PATH="${PATH}:/root/.poetry/bin" |
|
|
|
|
|
RUN poetry config virtualenvs.create false |
|
|
|
|
|
|
|
|
WORKDIR /app |
|
|
WORKDIR /app |
|
|
|
|
|
|
|
@ -51,6 +55,7 @@ RUN poetry install |
|
|
RUN apt-get remove -y \ |
|
|
RUN apt-get remove -y \ |
|
|
build-essential \ |
|
|
build-essential \ |
|
|
curl \ |
|
|
curl \ |
|
|
|
|
|
python3-pip \ |
|
|
&& rm -rf /var/lib/apt/lists/* |
|
|
&& rm -rf /var/lib/apt/lists/* |
|
|
|
|
|
|
|
|
WORKDIR /bin |
|
|
WORKDIR /bin |
|
|