Merge pull request #24 from ke5gdb/docker-update

Update Docker container(s) to use Debian Bookworm from Buster
pull/25/head
Mark Jessop 2025-01-18 17:21:38 -08:00 zatwierdzone przez GitHub
commit 90baaeff44
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
# ------------------- # -------------------
# The build container # The build container
# ------------------- # -------------------
FROM debian:buster-slim AS build FROM debian:bookworm-slim AS build
# Install build dependencies. # Install build dependencies.
RUN apt-get update && \ RUN apt-get update && \
@ -44,7 +44,7 @@ RUN git clone https://github.com/ka9q/ka9q-radio.git /root/ka9q-radio && \
# Removed numpy from this list, using system packages. # Removed numpy from this list, using system packages.
# --no-binary numpy # --no-binary numpy
RUN --mount=type=cache,target=/root/.cache/pip pip3 install \ RUN --mount=type=cache,target=/root/.cache/pip pip3 install \
--user --no-warn-script-location --ignore-installed \ --user --no-warn-script-location --ignore-installed --break-system-packages \
crcmod \ crcmod \
flask \ flask \
flask-socketio \ flask-socketio \
@ -63,7 +63,7 @@ RUN make
# ------------------------- # -------------------------
# The application container # The application container
# ------------------------- # -------------------------
FROM debian:buster-slim FROM debian:bookworm-slim
EXPOSE 5003/tcp EXPOSE 5003/tcp