diff --git a/README.md b/README.md index 272bc93f..1435e897 100644 --- a/README.md +++ b/README.md @@ -304,10 +304,10 @@ We use this in CI to check security issues of Node.js dependencies. ## kiwicom/poetry -- Base image: python:3.8-alpine +- Base image: python:3.12-slim - Packages: `poetry` and dependencies -We use this in CI for pypi upload. +We use this in CI for installing dependencies and uploading to PyPI. ## kiwicom/oauth2-proxy diff --git a/poetry/Dockerfile b/poetry/Dockerfile index 9e0fe865..b7ad28a1 100644 --- a/poetry/Dockerfile +++ b/poetry/Dockerfile @@ -1,12 +1,12 @@ -FROM python:3.9-alpine +FROM python:3.12-slim -ENV version=1.5.1 +ENV version=1.8.2 -RUN apk add --no-cache --virtual .build build-base cargo libffi-dev openssl-dev && \ +RUN apt update && \ + apt install -y build-essential cargo libffi-dev libssl-dev && \ pip install --upgrade pip && \ - pip install setuptools poetry==$version && \ - apk del .build + pip install setuptools poetry==$version LABEL name=poetry version=$version \ - maintainer="Jaroslav Sevcik " + maintainer="Kiwi.com Platform "