diff --git a/Dockerfile b/Dockerfile index 8cf604a..fce134a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,6 +40,8 @@ RUN apt-get update && \ libxml2-dev \ pkg-config \ procps \ + python3 \ + python3-pip \ tzdata \ unzip \ vim \ @@ -52,6 +54,9 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ apt-get -y autoremove +# if the python command does not exist, use python3 as the default +RUN command -v python || update-alternatives --install /usr/bin/python python /usr/bin/python3 1 + # install giant-squid RUN cargo install mwa_giant_squid --locked && \ cargo clean && \