diff --git a/build/docker/debian.Dockerfile b/build/docker/debian.Dockerfile index 44f19c94..66fa566b 100644 --- a/build/docker/debian.Dockerfile +++ b/build/docker/debian.Dockerfile @@ -92,7 +92,6 @@ 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 \ - python-is-python3 \ ca-certificates && \ apt -y install -t unstable \ python3.12\ @@ -101,7 +100,8 @@ RUN apt -y update && apt -y upgrade && apt -y install \ openjdk-21-jdk && \ apt -y clean && rm -rf /var/lib/apt/lists/* && \ # Symlink go binary to bin directory which is in path - ln -s /usr/lib/go-$GOLANG_VERSION/bin/go /usr/bin/go + ln -s /usr/lib/go-$GOLANG_VERSION/bin/go /usr/bin/go && \ + ln -s /usr/bin/python3.12 /usr/bin/python RUN dotnet --version @@ -120,7 +120,7 @@ RUN apt -y update && apt -y install \ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer -RUN php -v && composer --version +RUN ln -sf /usr/bin/python3.12 /usr/bin/python3 && php -v && composer --version && python3 --version CMD [ "debricked", "scan" ]