Skip to content

Instantly share code, notes, and snippets.

@suntong
Last active June 19, 2017 00:20
Show Gist options
  • Save suntong/51397c0916010d8c11e0 to your computer and use it in GitHub Desktop.
Save suntong/51397c0916010d8c11e0 to your computer and use it in GitHub Desktop.
Dockerfile for ubuntu
# DevEnv:ubuntu
# Dockerfile for build environment for ubuntu
FROM sfxpt/ubuntu:zesty
# set the http_proxy to make use of cached packages from caching proxy server
#ENV http_proxy MY_HTTP_PROXY
# Set the env variables to non-interactive
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_PRIORITY critical
ENV DEBCONF_NOWARNINGS yes
RUN apt-get update
# Installing the build environment
RUN apt-get install -y build-essential devscripts fakeroot sudo quilt dh-make automake libdistro-info-perl ruby-ronn less nano
# cleanup afterward
RUN rm /var/cache/apt/archives/*
# setup my own homes
RUN ln -s /export/home/root /export/home/tong /export/home/u /home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment