diff --git a/docker/Dockerfile b/docker/Dockerfile index 408a76890..bd273edbf 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -41,7 +41,10 @@ RUN --mount=type=cache,target=/var/cache/apt apt update && apt install wget -y & && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 2 \ && update-alternatives --set python3 /usr/bin/python3.12 \ && wget https://bootstrap.pypa.io/get-pip.py \ - && python3 get-pip.py + && python3 get-pip.py \ + # Fix for `apt-add-repository` + && cd /usr/lib/python3/dist-packages/ \ + && ln -s apt_pkg.cpython-310-*-linux-gnu.so apt_pkg.so # Set timezone and install all packages RUN --mount=type=cache,target=/var/cache/apt echo 'tzdata tzdata/Areas select America' | debconf-set-selections \