docker: pin baseimages to python:3.11-bookworm

This commit is contained in:
Markus Küffner
2023-10-07 11:46:55 +02:00
parent 3ac07fa054
commit 7ee6660e8d
4 changed files with 7 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added
### Fixed
### Changed
- pin base images to python:3.11-(slim-)bookworm
### Removed
-->

View File

@@ -1,6 +1,6 @@
## Get Klipper Source and Build venv
##
FROM python:3-bookworm as build
FROM python:3.11-bookworm as build
ARG REPO=https://github.com/Klipper3d/klipper
ARG VERSION=master
@@ -22,7 +22,7 @@ RUN python -m venv venv \
## Klippy Runtime Image
##
FROM python:3-slim-bookworm as run
FROM python:3.11-slim-bookworm as run
WORKDIR /opt
RUN groupadd klipper --gid 1000 \

View File

@@ -1,4 +1,4 @@
FROM python:3-bookworm as build
FROM python:3.11-bookworm as build
ARG REPO=https://github.com/KlipperScreen/KlipperScreen
ARG VERSION=master
@@ -18,7 +18,7 @@ RUN git clone ${REPO} klipperscreen \
RUN python -m venv venv \
&& venv/bin/pip install -r klipperscreen/scripts/KlipperScreen-requirements.txt
FROM python:3-slim-bookworm as run
FROM python:3.11-slim-bookworm as run
RUN apt update \
&& apt install -y \

View File

@@ -1,5 +1,5 @@
## Get Code and Build venv
FROM python:3-bookworm as build
FROM python:3.11-bookworm as build
ARG REPO=https://github.com/Arksine/moonraker
ARG VERSION=master
@@ -15,7 +15,7 @@ RUN python -m venv venv \
&& venv/bin/pip install -r moonraker/scripts/moonraker-requirements.txt
## Runtime Image
FROM python:3-slim-bookworm as run
FROM python:3.11-slim-bookworm as run
RUN apt update \
&& apt install -y \