-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Secbyte/fix-python-error
Use regular python instead of one from testing
- Loading branch information
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,18 +9,15 @@ LABEL "repository"="https://github.com/Secbyte/dotnet-sonarscanner" | |
LABEL "homepage"="https://github.com/Secbyte/dotnet-sonarscanner" | ||
LABEL "maintainer"="Joshua Duffy <[email protected]>" | ||
|
||
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 | ||
|