Skip to content

Instantly share code, notes, and snippets.

@Markbnj

Markbnj/Dockerfile

Created Aug 11, 2015
Embed
What would you like to do?
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 <someone@some.where>
# 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
You can’t perform that action at this time.