Mercurial > hg
comparison contrib/docker/debian.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 | 5c1283713293 |
children |
comparison
equal
deleted
inserted
replaced
34422:2fd06499dc8e | 34423:1baa077214ae |
---|---|
1 FROM debian:__CODENAME__ | 1 FROM debian:__CODENAME__ |
2 RUN apt-get update && apt-get install -y \ | 2 RUN apt-get update && apt-get install -y \ |
3 build-essential \ | 3 build-essential \ |
4 debhelper \ | 4 debhelper \ |
5 devscripts \ | |
5 dh-python \ | 6 dh-python \ |
6 devscripts \ | |
7 less \ | 7 less \ |
8 python \ | 8 python \ |
9 python-all-dev \ | 9 python-all-dev \ |
10 python-docutils \ | 10 python-docutils \ |
11 zip \ | 11 unzip \ |
12 unzip | 12 zip |