Created
April 8, 2017 00:32
-
-
Save brandon-braner/b1acaed08a2ca46225bad731380d2b30 to your computer and use it in GitHub Desktop.
Ubuntu & Python 3.6
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
FROM ubuntu:16.04 | |
MAINTAINER Brandon Braner | |
RUN apt-get install gnupg && gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553 && gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010 \ | |
&& gpg -a --export 8B48AD6246925553 | apt-key add - && gpg -a --export 7638D0442B90D010 | apt-key add - \ | |
&& echo "deb http://ftp.de.debian.org/debian experimental main" >> /etc/apt/sources.list \ | |
&& echo "deb http://ftp.de.debian.org/debian unstable main" >> /etc/apt/sources.list \ | |
&& apt-get update && apt-get -y upgrade \ | |
&& apt-get install -y nginx && apt install -y python3.6 \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ | |
&& echo "daemon off;" >> /etc/nginx/nginx.conf | |
CMD ["nginx"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment