File tree Expand file tree Collapse file tree 4 files changed +18
-11
lines changed
Expand file tree Collapse file tree 4 files changed +18
-11
lines changed Original file line number Diff line number Diff line change 11# # Get Klipper Source and Build venv
22# #
3- FROM python:3.11 -bookworm as build
3+ FROM python:3.12 -bookworm as build
44
5- ARG REPO=https://github.com/Klipper3d/klipper
6- ARG VERSION=master
5+ RUN apt update \
6+ && apt install -y cmake \
7+ && apt clean
78
89WORKDIR /opt
10+ COPY requirements-prind.txt .
11+
12+ RUN python -m venv venv \
13+ && venv/bin/pip install -r requirements-prind.txt
14+
15+ ARG REPO=https://github.com/Klipper3d/klipper
16+ ARG VERSION=master
917
1018RUN git clone ${REPO} klipper \
1119 && cd klipper \
1220 && git checkout ${VERSION} \
1321 && rm -rf .git
1422
15- RUN python -m venv venv \
16- && venv/bin/pip install -r klipper/scripts/klippy-requirements.txt \
17- && venv/bin/pip install numpy==1.25.2 \
23+ RUN venv/bin/pip install -r klipper/scripts/klippy-requirements.txt \
1824 && venv/bin/python -m compileall klipper/klippy \
1925 && venv/bin/python klipper/klippy/chelper/__init__.py
2026# ##
2127
2228
2329# # Klippy Runtime Image
2430# #
25- FROM python:3.11 -slim-bookworm as run
31+ FROM python:3.12 -slim-bookworm as run
2632
2733WORKDIR /opt
2834RUN groupadd klipper --gid 1000 \
Original file line number Diff line number Diff line change 1+ numpy==1.26.4
Original file line number Diff line number Diff line change 1- FROM python:3.11 -bookworm as build
1+ FROM python:3.12 -bookworm as build
22
33ARG REPO=https://github.com/KlipperScreen/KlipperScreen
44ARG VERSION=master
@@ -18,7 +18,7 @@ RUN git clone ${REPO} klipperscreen \
1818RUN python -m venv venv \
1919 && venv/bin/pip install -r klipperscreen/scripts/KlipperScreen-requirements.txt
2020
21- FROM python:3.11 -slim-bookworm as run
21+ FROM python:3.12 -slim-bookworm as run
2222
2323RUN apt update \
2424 && apt install -y \
Original file line number Diff line number Diff line change 11# # Get Code and Build venv
2- FROM python:3.11 -bookworm as build
2+ FROM python:3.12 -bookworm as build
33
44ARG REPO=https://github.com/Arksine/moonraker
55ARG VERSION=master
@@ -15,7 +15,7 @@ RUN python -m venv venv \
1515 && venv/bin/pip install -r moonraker/scripts/moonraker-requirements.txt
1616
1717# # Runtime Image
18- FROM python:3.11 -slim-bookworm as run
18+ FROM python:3.12 -slim-bookworm as run
1919
2020RUN apt update \
2121 && apt install -y \
You can’t perform that action at this time.
0 commit comments