Skip to content

DRAFT: Dockerfile with Node.js 20.18, Python 3.12.8, and uv pip#5262

Closed
cclauss wants to merge 2 commits intopyodide:mainfrom
cclauss:python3.12.8
Closed

DRAFT: Dockerfile with Node.js 20.18, Python 3.12.8, and uv pip#5262
cclauss wants to merge 2 commits intopyodide:mainfrom
cclauss:python3.12.8

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Dec 16, 2024

DRAFT pull request -- Do not merge.

Description

An experimental Dockerfile to enable testing of upgrading to the current versions of Node.js v20 and Python 3.12 plus

Dockerfile:

- FROM node:20.11-bookworm-slim AS node-image
- FROM python:3.12.7-slim-bookworm
+ FROM node:20.18-bookworm-slim AS node-image
+ FROM python:3.12.8-slim-bookworm
+ # https://docs.astral.sh/uv/guides/integration/docker/#installing-uv
+ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
+ RUN uv venv

Checklists

  • Add a CHANGELOG entry
  • Add / update tests
  • Add new / update outdated documentation

@hoodmane
Copy link
Member

Can you build this and push it to your docker account and use it in #5255?

@cclauss
Copy link
Contributor Author

cclauss commented Dec 16, 2024

Yes, thanks for that explanation. I will try to do so when I have more free time.


# Requirements for building packages
RUN apt-get update \
RUN uv venv \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's uv venv do here? Feels like it might fit in better with RUN pip3 on line 33 instead of with apt?

@agriyakhetarpal agriyakhetarpal added this to the 0.28.0 milestone Dec 19, 2024
@cclauss cclauss closed this Apr 5, 2025
@cclauss cclauss deleted the python3.12.8 branch April 5, 2025 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants