diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f9e3ebb..0632b13 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -67,7 +67,7 @@ jobs: tags: nikolaik/python-nodejs:${{ matrix.key }} - name: Run smoke tests run: | - docker run --rm nikolaik/python-nodejs:${{ matrix.key }} sh -c "node --version && npm --version && yarn --version && python --version && pip --version && pipenv --version && poetry --version" + docker run --rm nikolaik/python-nodejs:${{ matrix.key }} sh -c "node --version && npm --version && yarn --version && python --version && pip --version && pipenv --version && poetry --version && uv --version" - name: Push image uses: docker/build-push-action@v5 with: diff --git a/Dockerfile b/Dockerfile index 2a77bdd..a3d54da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,6 @@ RUN corepack enable yarn RUN \ apt-get update && \ apt-get upgrade -yqq && \ - pip install -U pip && pip install pipenv && \ + pip install -U pip pipenv uv && \ curl -sSL https://install.python-poetry.org | python - && \ rm -rf /var/lib/apt/lists/* diff --git a/README.md b/README.md index 7d85e03..453f1be 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ The `latest` tag is currently: - pip: latest - pipenv: latest - poetry: latest +- uv: latest ## 🏷 Tags diff --git a/templates/alpine.Dockerfile b/templates/alpine.Dockerfile index 5e05e64..e6d881b 100644 --- a/templates/alpine.Dockerfile +++ b/templates/alpine.Dockerfile @@ -28,7 +28,7 @@ RUN addgroup -g 1000 pn && adduser -u 1000 -G pn -s /bin/sh -D pn RUN apk add libstdc++ COPY --from=builder /node-v{{ nodejs_canonical }}-linux-x64-musl /usr/local RUN corepack enable yarn -RUN pip install -U pip && pip install pipenv +RUN pip install -U pip pipenv uv # Poetry # Mimic what https://install.python-poetry.org does without the flexibility (platforms, install sources, etc). diff --git a/templates/debian.Dockerfile b/templates/debian.Dockerfile index db7dc38..d999c76 100644 --- a/templates/debian.Dockerfile +++ b/templates/debian.Dockerfile @@ -31,5 +31,5 @@ RUN NODE_VERSION="v{{ nodejs_canonical }}" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs RUN corepack enable yarn -RUN pip install -U pip && pip install pipenv && \ +RUN pip install -U pip pipenv uv && \ curl -fsSL --compressed https://install.python-poetry.org | python -