From 456c5a5ae16aafe46ff4fb84cc2852137666c027 Mon Sep 17 00:00:00 2001 From: kx1t <15090643+kx1t@users.noreply.github.com> Date: Thu, 15 Aug 2024 13:05:07 -0400 Subject: [PATCH] fix pip3 installs for Python3.11 Python 3.11 works with virtual environments as a default. Since we are installing Python into a container, we need to now specifically allow pip3 to install at the system level rather than into a virtual environment --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 91b862b..25d579b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ COPY ais2adsb.py /usr/local/bin/ RUN set -x && \ apt-get update -y && apt-get install -q -o Dpkg::Options::="--force-confnew" -y --no-install-recommends --no-install-suggests git python3-bitarray && \ -pip install pyais && \ +pip3 install --break-system-packages --no-cache-dir pyais && \ # # Add Container Version pushd /tmp && \