Update python & debian

This commit is contained in:
Gabriel Augendre 2022-03-25 19:33:15 +01:00
parent f726774d21
commit e3b08694a3
1 changed files with 5 additions and 5 deletions

View File

@ -1,13 +1,13 @@
##############################################
# Build virtualenv
##############################################
FROM python:3.10.2-buster AS venv
FROM python:3.10.4-bullseye AS venv
# Prepare system
##############################################
# https://python-poetry.org/docs/#installation
ENV POETRY_VERSION=1.1.11
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
ENV POETRY_VERSION=1.1.13
RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH /root/.local/bin:$PATH
@ -47,9 +47,9 @@ RUN git rev-parse HEAD | tee /version
##############################################
# Main image
##############################################
FROM python:3.10.2-slim-buster as prod
FROM python:3.10.4-slim-bullseye as prod
ENV TZ="Europe/Paris"
ENV TZ "Europe/Paris"
COPY --from=venv /app/venv /app/venv/
ENV PATH /app/venv/bin:$PATH