Skip to content

Commit

Permalink
feat(python): updating poetry version in python containers
Browse files Browse the repository at this point in the history
  • Loading branch information
rorambaud committed Jun 26, 2024
1 parent 8e7949a commit 0179895
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Versions
========

2024-06-30
----------
* Python : updating Poetry version to the latest for all Python images

2024-05-31
----------
* PHP : adding **icu-data-full** package for PHP 8.1|8.2|8.3 image
Expand Down
3 changes: 1 addition & 2 deletions python/3.10/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM python:3.10.14-slim-bullseye AS base

ARG TARGETARCH
ARG POETRY_VERSION
ARG POETRY_HOME

FROM base AS base-amd64
Expand Down Expand Up @@ -31,4 +30,4 @@ RUN apt-get update -y && \
rm -rf /var/lib/apt/lists/* /var/lib/dpkg/*-old && \

# Install Poetry
curl -sSL https://install.python-poetry.org | python3 - --version $POETRY_VERSION
curl -sSL https://install.python-poetry.org | python3 -
3 changes: 1 addition & 2 deletions python/3.11/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM python:3.11.9-slim-bullseye AS base

ARG TARGETARCH
ARG POETRY_VERSION
ARG POETRY_HOME

FROM base AS base-amd64
Expand Down Expand Up @@ -31,4 +30,4 @@ RUN apt-get update -y && \
rm -rf /var/lib/apt/lists/* /var/lib/dpkg/*-old && \

# Install Poetry
curl -sSL https://install.python-poetry.org | python3 - --version $POETRY_VERSION
curl -sSL https://install.python-poetry.org | python3 -
3 changes: 1 addition & 2 deletions python/3.12/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM python:3.12.4-slim-bullseye AS base

ARG TARGETARCH
ARG POETRY_VERSION
ARG POETRY_HOME

FROM base AS base-amd64
Expand Down Expand Up @@ -31,4 +30,4 @@ RUN apt-get update -y && \
rm -rf /var/lib/apt/lists/* /var/lib/dpkg/*-old && \

# Install Poetry
curl -sSL https://install.python-poetry.org | python3 - --version $POETRY_VERSION
curl -sSL https://install.python-poetry.org | python3 -
3 changes: 1 addition & 2 deletions python/3.8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM python:3.8.19-slim-bullseye AS base

ARG TARGETARCH
ARG POETRY_VERSION
ARG POETRY_HOME

FROM base AS base-amd64
Expand Down Expand Up @@ -31,4 +30,4 @@ RUN apt-get update -y && \
rm -rf /var/lib/apt/lists/* /var/lib/dpkg/*-old && \

# Install Poetry
curl -sSL https://install.python-poetry.org | python3 - --version $POETRY_VERSION
curl -sSL https://install.python-poetry.org | python3 -
3 changes: 1 addition & 2 deletions python/3.9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM python:3.9.19-slim-bullseye AS base

ARG TARGETARCH
ARG POETRY_VERSION
ARG POETRY_HOME

FROM base AS base-amd64
Expand Down Expand Up @@ -31,4 +30,4 @@ RUN apt-get update -y && \
rm -rf /var/lib/apt/lists/* /var/lib/dpkg/*-old && \

# Install Poetry
curl -sSL https://install.python-poetry.org | python3 - --version $POETRY_VERSION
curl -sSL https://install.python-poetry.org | python3 -
1 change: 0 additions & 1 deletion python/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ test_config: &test_config
- poetry --version

build_args: &build_args
POETRY_VERSION: 1.6.1
POETRY_HOME: "/usr/local"

versions:
Expand Down

0 comments on commit 0179895

Please sign in to comment.