Mercurial > hg
annotate contrib/docker/ubuntu.template @ 34423:1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
Merged multiple RUN instructions and sorted the arguments alphabetically
Reference: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/
author | muxator <a.mux@inwind.it> |
---|---|
date | Sun, 01 Oct 2017 01:02:22 +0200 |
parents | e02bae37af30 |
children |
rev | line source |
---|---|
29031
e63dfbbdbd07
make: turn ubuntu docker into template
Sean Farley <sean@farley.io>
parents:
diff
changeset
|
1 FROM ubuntu:__CODENAME__ |
e63dfbbdbd07
make: turn ubuntu docker into template
Sean Farley <sean@farley.io>
parents:
diff
changeset
|
2 RUN apt-get update && apt-get install -y \ |
e63dfbbdbd07
make: turn ubuntu docker into template
Sean Farley <sean@farley.io>
parents:
diff
changeset
|
3 build-essential \ |
e63dfbbdbd07
make: turn ubuntu docker into template
Sean Farley <sean@farley.io>
parents:
diff
changeset
|
4 debhelper \ |
34423
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33023
diff
changeset
|
5 devscripts \ |
29031
e63dfbbdbd07
make: turn ubuntu docker into template
Sean Farley <sean@farley.io>
parents:
diff
changeset
|
6 dh-python \ |
33023
e02bae37af30
docker: install less as a build-time dependency in deb-based distros
Anton Shestakov <av6@dwimlabs.net>
parents:
29031
diff
changeset
|
7 less \ |
29031
e63dfbbdbd07
make: turn ubuntu docker into template
Sean Farley <sean@farley.io>
parents:
diff
changeset
|
8 python \ |
e63dfbbdbd07
make: turn ubuntu docker into template
Sean Farley <sean@farley.io>
parents:
diff
changeset
|
9 python-all-dev \ |
e63dfbbdbd07
make: turn ubuntu docker into template
Sean Farley <sean@farley.io>
parents:
diff
changeset
|
10 python-docutils \ |
34423
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33023
diff
changeset
|
11 unzip \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33023
diff
changeset
|
12 zip |