]> git.puffer.fish Git - mirror/frr.git/commit
Dockerfile: Move to project root and combine RUNs
authorChristian Franke <chris@opensourcerouting.org>
Wed, 17 Oct 2018 16:27:35 +0000 (18:27 +0200)
committerChristian Franke <chris@opensourcerouting.org>
Thu, 29 Nov 2018 15:51:27 +0000 (16:51 +0100)
commite425ee635718b2e29c9ed06ce172b82a24e651fb
tree17b5937d91fa35a31e1de528da63ccd1f3ce2f76
parent1e9c095c6faa07a6a7696a8dceccd6eada859b2f
Dockerfile: Move to project root and combine RUNs

According to https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run
`apt-get update` should always be combined with `apt-get install` in
the same `RUN` statement, to avoid installation of outdated packages.

Also, combine some more `RUN`s together as to avoid fewer layers.

Finally, remove some comments which are superflous. Comments shouldn't
describe what is done, especially when it's obvious. They should
explain why something is done.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
tests/topotests/Dockerfile [new file with mode: 0644]
tests/topotests/docker/Dockerfile [deleted file]