Skip to content

Commit

Permalink
⬆ Update Poetry versions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed May 20, 2023
1 parent 5b9905e commit e0bd6e5
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 0 deletions.
18 changes: 18 additions & 0 deletions 1.5/python3.10-bullseye/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM python:3.10.11-bullseye

ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PYTHONFAULTHANDLER=1 \
POETRY_VERSION=1.5.0 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
POETRY_NO_INTERACTION=1 \
POETRY_HOME=/usr/bin/poetry \
PATH=/usr/bin/poetry/bin:$PATH

# Python version must be 3.5 or higher
# Poetry must version be 1.1.7 or higher
RUN curl -sSL https://install.python-poetry.org > ./install-poetry.py \
&& python ./install-poetry.py \
&& rm ./install-poetry.py

CMD ["/bin/bash"]
23 changes: 23 additions & 0 deletions 1.5/python3.10-slim-bullseye/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM python:3.10.11-bullseye as install-poetry

# Python version must be 3.5 or higher
# Poetry version must be 1.1.7 or higher
RUN curl -sSL https://install.python-poetry.org > ./install-poetry.py

FROM python:3.10.11-slim-bullseye

ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PYTHONFAULTHANDLER=1 \
POETRY_VERSION=1.5.0 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
POETRY_NO_INTERACTION=1 \
POETRY_HOME=/usr/bin/poetry \
PATH=/usr/bin/poetry/bin:$PATH

WORKDIR /
COPY --from=install-poetry ./install-poetry.py ./
RUN python ./install-poetry.py \
&& rm ./install-poetry.py

CMD ["/bin/bash"]
18 changes: 18 additions & 0 deletions 1.5/python3.11-bullseye/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM python:3.11.3-bullseye

ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PYTHONFAULTHANDLER=1 \
POETRY_VERSION=1.5.0 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
POETRY_NO_INTERACTION=1 \
POETRY_HOME=/usr/bin/poetry \
PATH=/usr/bin/poetry/bin:$PATH

# Python version must be 3.5 or higher
# Poetry must version be 1.1.7 or higher
RUN curl -sSL https://install.python-poetry.org > ./install-poetry.py \
&& python ./install-poetry.py \
&& rm ./install-poetry.py

CMD ["/bin/bash"]
23 changes: 23 additions & 0 deletions 1.5/python3.11-slim-bullseye/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM python:3.11.3-bullseye as install-poetry

# Python version must be 3.5 or higher
# Poetry version must be 1.1.7 or higher
RUN curl -sSL https://install.python-poetry.org > ./install-poetry.py

FROM python:3.11.3-slim-bullseye

ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PYTHONFAULTHANDLER=1 \
POETRY_VERSION=1.5.0 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
POETRY_NO_INTERACTION=1 \
POETRY_HOME=/usr/bin/poetry \
PATH=/usr/bin/poetry/bin:$PATH

WORKDIR /
COPY --from=install-poetry ./install-poetry.py ./
RUN python ./install-poetry.py \
&& rm ./install-poetry.py

CMD ["/bin/bash"]
3 changes: 3 additions & 0 deletions scripts/pipeline_cli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
1,
2,
],
"1.5": [
0,
],
}
PYTHON_VERSIONS: Dict[str, List[int]] = {
"3.10": [
Expand Down

0 comments on commit e0bd6e5

Please sign in to comment.