This repository was archived by the owner on Jun 9, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +51
-1
lines changed Expand file tree Collapse file tree 4 files changed +51
-1
lines changed Original file line number Diff line number Diff line change
1
+ FROM python:2.7
2
+
3
+ RUN apt-get update \
4
+ && apt-get install -y curl \
5
+ && rm -rf /var/lib/apt/lists/* \
6
+ && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
7
+ && echo "deb http://download.mono-project.com/repo/debian wheezy main" >> /etc/apt/sources.list.d/mono-xamarin.list \
8
+ && echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list \
9
+ && echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list \
10
+ && apt-get update \
11
+ && apt-get install -y mono-complete=4.8.0.495-0xamarin1 \
12
+ && rm -rf /var/lib/apt/lists/* /tmp/*
13
+
14
+ RUN pip install pythonnet==2.2.2
Original file line number Diff line number Diff line change
1
+ FROM python:3.5
2
+
3
+ RUN apt-get update \
4
+ && apt-get install -y curl \
5
+ && rm -rf /var/lib/apt/lists/* \
6
+ && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
7
+ && echo "deb http://download.mono-project.com/repo/debian wheezy main" >> /etc/apt/sources.list.d/mono-xamarin.list \
8
+ && echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list \
9
+ && echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" >> /etc/apt/sources.list.d/mono-xamarin.list \
10
+ && apt-get update \
11
+ && apt-get install -y clang \
12
+ && apt-get install -y mono-complete=4.8.0.495-0xamarin1 \
13
+ && rm -rf /var/lib/apt/lists/* /tmp/*
14
+
15
+ RUN pip install pycparser==2.17 && pip install pythonnet==2.2.2
Original file line number Diff line number Diff line change 1
- # pythonnet-docker
1
+ # Dockerfiles for Pythonnet
2
+
3
+ * Just add python sources and enjoy!*
4
+
5
+ [ https://hub.docker.com/r/pythondotnet/pythonnet/ ] ( https://hub.docker.com/r/pythondotnet/pythonnet/ )
6
+
7
+ ## Current Support
8
+
9
+ - Python 2.7 & 3.5
10
+ - Mono 4.8.0
11
+ - Pythonnet 2.2.0
12
+
13
+ * Note: The dockerfiles are named with their respective combinations.*
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e
4
+
5
+ docker build -t pythondotnet/pythonnet:python2.7-mono4.8.0-pythonnet2.2.2 -f Dockerfile-python2.7-mono4.8.0-pythonnet2.2.2 .
6
+ docker build -t pythondotnet/pythonnet:python3.5-mono4.8.0-pythonnet2.2.2 -f Dockerfile-python3.5-mono4.8.0-pythonnet2.2.2 .
7
+
8
+ docker push pythondotnet/pythonnet:python2.7-mono4.8.0-pythonnet2.2.2
9
+ docker push pythondotnet/pythonnet:python3.5-mono4.8.0-pythonnet2.2.2
You can’t perform that action at this time.
0 commit comments