Last active
August 29, 2015 14:05
-
-
Save marcingrzejszczak/a47ba311218d1b5373e4 to your computer and use it in GitHub Desktop.
Dockerfile - debian with python
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 tutum/debian:wheezy | |
# Install packages | |
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y install python python-apt man less vim cowsay curl wget | |
RUN export LANGUAGE=en_US.UTF-8 | |
RUN export LANG=en_US.UTF-8 | |
RUN export LC_ALL=en_US.UTF-8 | |
#RUN dpkg-reconfigure locales | |
#RUN locale-gen en_US.UTF-8 | |
EXPOSE 22 | |
EXPOSE 80 | |
EXPOSE 9200 | |
CMD ["/run.sh"] | |
docker run -d -p 2222:22 -e ROOT_PASS="root" marcin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-getting-started