-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test on ubuntu 20.04 and describe how to get python support in readme
- Loading branch information
1 parent
a5691d1
commit d2eb0d1
Showing
6 changed files
with
105 additions
and
49 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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM ubuntu:20.04 | ||
MAINTAINER mathias.burger@gmail.com | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=Europe/Berlin | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y curl | ||
RUN apt-get install -y python3 python3-pip | ||
RUN apt-get install -y xvfb gimp python2 python-numpy python-typing | ||
|
||
RUN cd /tmp && \ | ||
curl http://archive.ubuntu.com/ubuntu/pool/universe/g/gimp/gimp-python_2.10.8-2_amd64.deb --output gimp-python.deb && \ | ||
curl http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb --output python-gtk2.deb && \ | ||
apt install python python-cairo python-gobject-2 && \ | ||
dpkg -i python-gtk2.deb && \ | ||
dpkg -i gimp-python.deb && \ | ||
rm gimp-python.deb python-gtk2.deb | ||
|
||
RUN pip3 install pytest setuptools | ||
RUN pip2 install numpy typing | ||
|
||
ADD requirements.txt /tmp/requirements.txt | ||
RUN pip3 install -r /tmp/requirements.txt | ||
|
||
VOLUME /src | ||
WORKDIR /src | ||
|
||
CMD ["python3"] |