Created
August 11, 2015 21:12
-
-
Save Markbnj/6973feb9135fe18d7ecd to your computer and use it in GitHub Desktop.
Simple dockerfile for an Ubuntu-based base image for python services
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
# DockerFile for building a base image for python services | |
FROM ubuntu:15.04 | |
MAINTAINER Someone <[email protected]> | |
# common stuff | |
RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \ | |
mkdir /home/root && \ | |
dpkg-reconfigure locales && \ | |
locale-gen en_US en_US.UTF-8 && \ | |
/usr/sbin/update-locale LANG=en_US.UTF-8 && \ | |
sudo apt-get update && \ | |
sudo apt-get install -y \ | |
screen \ | |
nano \ | |
curl \ | |
wget \ | |
git \ | |
python \ | |
python-pip | |
ENV LC_ALL en_US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
ENV LANGUAGE en_US |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment