From 2f849d0d9c7c12e1661e7f75e76c244ddcca50e9 Mon Sep 17 00:00:00 2001 From: Joshua Duffy Date: Tue, 9 Jun 2020 12:28:38 +0100 Subject: [PATCH] Use regular python instead of one from testing --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8ba269f..7cb214c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,7 @@ LABEL "repository"="https://github.com/Secbyte/dotnet-sonarscanner" LABEL "homepage"="https://github.com/Secbyte/dotnet-sonarscanner" LABEL "maintainer"="Joshua Duffy " -RUN echo "deb http://http.us.debian.org/debian/ testing contrib main" >> /etc/apt/sources.list && \ - wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg && \ +RUN wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg && \ mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ && \ wget -q https://packages.microsoft.com/config/debian/10/prod.list && \ mv prod.list /etc/apt/sources.list.d/microsoft-prod.list && \ @@ -18,9 +17,7 @@ RUN echo "deb http://http.us.debian.org/debian/ testing contrib main" >> /etc/ap chown root:root /etc/apt/sources.list.d/microsoft-prod.list && \ apt-get update && \ apt-get install -y --no-install-recommends default-jre apt-transport-https aspnetcore-runtime-2.1 mono-complete && \ - apt-get -t testing install -y --no-install-recommends python3.7 python3-distutils && \ - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ - python3.7 get-pip.py && \ + apt-get install -y --no-install-recommends python3 python3-distutils python3-pip python3-setuptools && \ rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* && \ apt-get autoremove -y && \ dotnet tool install dotnet-sonarscanner --tool-path . --version 4.7.1