Skip to content

Commit 6710e87

Browse files
committed
docker: python 3.11 and uv
1 parent 04df7e8 commit 6710e87

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ image:build:
5555
needs: []
5656
tags:
5757
- container-registry-push
58-
# rules:
59-
# - if: '$CI_PIPELINE_SOURCE == "schedule"'
60-
# - if: '$CI_BUILD_IMAGES == "1"'
58+
rules:
59+
- if: '$CI_PIPELINE_SOURCE == "schedule"'
60+
- if: '$CI_BUILD_IMAGES == "1"'
6161
image:
6262
name: gcr.io/kaniko-project/executor:debug
6363
entrypoint: [ "" ]

docker/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
FROM python:3.10
1+
FROM python:3.11
22
LABEL Pierre Augier <pierre.augier@univ-grenoble-alpes.fr>
3+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
34

45
RUN apt-get update
56

@@ -60,5 +61,5 @@ COPY --chown=appuser:appuser doc/install/install_pfft.sh install_pfft.sh
6061
RUN chmod +x install_pfft.sh
6162
RUN ./install_pfft.sh
6263

63-
RUN python -m pip install --upgrade pip
64-
RUN python -m pip install --upgrade pdm nox
64+
RUN uv tool install pdm
65+
RUN uv tool install nox

0 commit comments

Comments
 (0)