From b4ad583baa84fa814d7b66848ef908a8be9b2a62 Mon Sep 17 00:00:00 2001 From: ngosang Date: Thu, 3 Aug 2023 05:19:56 +0200 Subject: [PATCH] Revert "Update base Docker image to Debian Bookworm" This reverts commit 0edc50e27152a0d9497b3f4dd8c83cce7fb2735b. --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f46e321..cebb9d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-slim-bookworm as builder +FROM python:3.11-slim-bullseye as builder # Build dummy packages to skip installing them and their dependencies RUN apt-get update \ @@ -12,7 +12,7 @@ RUN apt-get update \ && equivs-build adwaita-icon-theme \ && mv adwaita-icon-theme_*.deb /adwaita-icon-theme.deb -FROM python:3.11-slim-bookworm +FROM python:3.11-slim-bullseye # Copy dummy packages COPY --from=builder /*.deb / @@ -30,11 +30,9 @@ RUN dpkg -i /libgl1-mesa-dri.deb \ # Install dependencies && apt-get update \ && apt-get install -y --no-install-recommends chromium chromium-common chromium-driver xvfb dumb-init \ - procps curl vim-tiny xauth \ + procps curl vim xauth \ # Remove temporary files and hardware decoding libraries && rm -rf /var/lib/apt/lists/* \ - && rm -f /usr/lib/systemd/systemd* \ - && rm -f /usr/lib/x86_64-linux-gnu/systemd/* \ && rm -f /usr/lib/x86_64-linux-gnu/libmfxhw* \ && rm -f /usr/lib/x86_64-linux-gnu/mfx/* \ # Create flaresolverr user