diff --git a/build/docker/debian.Dockerfile b/build/docker/debian.Dockerfile index 8fff0b02..d8e87e68 100644 --- a/build/docker/debian.Dockerfile +++ b/build/docker/debian.Dockerfile @@ -92,20 +92,21 @@ RUN curl -fsSLO https://dot.net/v1/dotnet-install.sh \ ENV GOLANG_VERSION 1.22 RUN apt -y update && apt -y upgrade && apt -y install \ - python3 \ - python3-venv \ - ca-certificates \ - python3-pip && \ + python-is-python3 \ + ca-certificates && \ apt -y install -t unstable \ + python3.12\ + python3.12-venv \ golang-$GOLANG_VERSION \ openjdk-21-jre && \ apt -y clean && rm -rf /var/lib/apt/lists/* && \ - # Symlink pip3 to pip, we assume that "pip" works in CLI - ln -sf /usr/bin/pip3 /usr/bin/pip && \ - ln -sf /usr/bin/python3 /usr/bin/python && \ # Symlink go binary to bin directory which is in path ln -s /usr/lib/go-$GOLANG_VERSION/bin/go /usr/bin/go +RUN python3 --version + +RUN python --version + RUN dotnet --version RUN apt update -y && \ @@ -125,6 +126,9 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin - RUN php -v && composer --version +RUN which python +RUN apt list --installed + CMD [ "debricked", "scan" ] # Put copy at the end to speedup Docker build by caching previous RUNs and run those concurrently