Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

Update mono repo locations + Add python 3.6 support #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile-python2.7-mono4.8.0-pythonnet2.3.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apt-get update \
&& apt-get install -y curl \
&& rm -rf /var/lib/apt/lists/* \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
&& echo "deb http://download.mono-project.com/repo/debian wheezy main" >> /etc/apt/sources.list.d/mono-xamarin.list \
&& echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.8.0.520/. main" >> /etc/apt/sources.list.d/mono-xamarin.list \
&& echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list \
&& echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list \
&& apt-get update \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-python3.5-mono4.8.0-pythonnet2.3.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apt-get update \
&& apt-get install -y curl \
&& rm -rf /var/lib/apt/lists/* \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
&& echo "deb http://download.mono-project.com/repo/debian wheezy main" >> /etc/apt/sources.list.d/mono-xamarin.list \
&& echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.8.0.520/. main" >> /etc/apt/sources.list.d/mono-xamarin.list \
&& echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list \
&& echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list \
&& apt-get update \
Expand Down
15 changes: 15 additions & 0 deletions Dockerfile-python3.6-mono4.8.0-pythonnet2.3.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM python:3.6

RUN apt-get update \
&& apt-get install -y curl \
&& rm -rf /var/lib/apt/lists/* \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
&& echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.8.0.520/. main" >> /etc/apt/sources.list.d/mono-xamarin.list \
&& echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list \
&& echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list \
&& apt-get update \
&& apt-get install -y clang \
&& apt-get install -y mono-complete=4.8.0.520-0xamarin3 \
&& rm -rf /var/lib/apt/lists/* /tmp/*

RUN pip install pycparser==2.17 && pip install pythonnet==2.3.0
2 changes: 2 additions & 0 deletions build_and_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -e

docker build -t pythonnet/pythonnet:python2.7-mono4.8.0-pythonnet2.3.0 -f Dockerfile-python2.7-mono4.8.0-pythonnet2.3.0 .
docker build -t pythonnet/pythonnet:python3.5-mono4.8.0-pythonnet2.3.0 -f Dockerfile-python3.5-mono4.8.0-pythonnet2.3.0 .
docker build -t pythonnet/pythonnet:python3.6-mono4.8.0-pythonnet2.3.0 -f Dockerfile-python3.6-mono4.8.0-pythonnet2.3.0 .

docker push pythonnet/pythonnet:python2.7-mono4.8.0-pythonnet2.3.0
docker push pythonnet/pythonnet:python3.5-mono4.8.0-pythonnet2.3.0
docker push pythonnet/pythonnet:python3.6-mono4.8.0-pythonnet2.3.0