Skip to content

Instantly share code, notes, and snippets.

@Markbnj
Created August 11, 2015 21:12
Show Gist options
  • Save Markbnj/6973feb9135fe18d7ecd to your computer and use it in GitHub Desktop.
Save Markbnj/6973feb9135fe18d7ecd to your computer and use it in GitHub Desktop.
Simple dockerfile for an Ubuntu-based base image for python services
# 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