diff --git a/docker/Dockerfile.gui b/docker/Dockerfile.gui index eaee5541..9425c7ec 100644 --- a/docker/Dockerfile.gui +++ b/docker/Dockerfile.gui @@ -1,4 +1,4 @@ -FROM lscr.io/linuxserver/code-server:4.18.0-ls181 +FROM lscr.io/linuxserver/code-server:4.98.2 # For phantomjs ENV OPENSSL_CONF="/etc/ssl" @@ -22,7 +22,6 @@ RUN mkdir -p /config && \ g++ \ nano \ make \ - python3.10-dev \ python3-pip \ fontconfig \ xz-utils \ @@ -61,7 +60,7 @@ RUN mkdir -p /config && \ phantomjs --version ; \ fi && \ # Install ytdl-sub, ensure it is installed properly - pip install --no-cache-dir ytdl_sub-*.whl && \ + pip install --no-cache-dir --break-system-packages ytdl_sub-*.whl && \ ytdl-sub -h && \ # Delete unneeded packages after install rm ytdl_sub-*.whl && \ @@ -70,7 +69,6 @@ RUN mkdir -p /config && \ make \ xz-utils \ bzip2 \ - python3.10-dev \ python3-venv && \ apt-get autoremove -y && \ apt-get purge -y --auto-remove && \ diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu index 4f17af97..6036249f 100644 --- a/docker/Dockerfile.ubuntu +++ b/docker/Dockerfile.ubuntu @@ -1,4 +1,4 @@ -FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy +FROM ghcr.io/linuxserver/baseimage-ubuntu:noble # https://askubuntu.com/questions/972516/debian-frontend-environment-variable ARG DEBIAN_FRONTEND=noninteractive @@ -25,7 +25,6 @@ RUN mkdir -p /config && \ g++ \ nano \ make \ - python3.10-dev \ python3-pip \ fontconfig \ xz-utils \ @@ -64,7 +63,7 @@ RUN mkdir -p /config && \ phantomjs --version ; \ fi && \ # Install ytdl-sub, ensure it is installed properly - pip install --no-cache-dir ytdl_sub-*.whl && \ + pip install --no-cache-dir --break-system-packages ytdl_sub-*.whl && \ ytdl-sub -h && \ # Delete unneeded packages after install rm ytdl_sub-*.whl && \ @@ -73,7 +72,6 @@ RUN mkdir -p /config && \ make \ xz-utils \ bzip2 \ - python3.10-dev \ python3-venv && \ apt-get autoremove -y && \ apt-get purge -y --auto-remove && \