A common base image for my Dockerfiles to save some disk space and build time.
The base for this image is ubuntu:latest but it might change in the future.
Building with settings
If you want to build it with other settings load the Dockerfile in an empty directory, perhaps edit it to your needs.
If you have an apt-cacher-ng proxy server (try uwegerdes/apt-cacher-ng) you should check
hostname -i or change it to an address available in your local networt (not localhost) or omit the APT_PROXY line in the command above.
There is also a timezone parameter for the baseimage, here set to
Build the image with (mind the dot in the last line):
$ docker build -t uwegerdes/baseimage \ --build-arg APT_PROXY="http://$(hostname -i):3142" \ --build-arg TZ="Europe/Berlin" \ .
Use this baseimage in other
The build-args are saved and used by all images depending on this image.