Skip to content

Commit

Permalink
Merge pull request #8 from Secbyte/fix-python-error
Browse files Browse the repository at this point in the history
Use regular python instead of one from testing
  • Loading branch information
joshuaduffy authored Jun 9, 2020
2 parents 28917c6 + 2f849d0 commit 10230bb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ LABEL "repository"="https://github.com/Secbyte/dotnet-sonarscanner"
LABEL "homepage"="https://github.com/Secbyte/dotnet-sonarscanner"
LABEL "maintainer"="Joshua Duffy <mail@joshuaduffy.org>"

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 && \
chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg && \
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
Expand Down

0 comments on commit 10230bb

Please sign in to comment.