gmacario / easy-build

Collection of Dockerfiles for building embedded software distributions
Mozilla Public License 2.0
154 stars 83 forks source link

`apt-get update` and `apt-get install` should probably be in the same line #268

Closed LittleCVR closed 6 years ago

LittleCVR commented 6 years ago

According to this article: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run apt-get update and apt-get install should be in the same line. Otherwise, a caching problem may occur.

So are they being separated intentionally here?

gmacario commented 6 years ago

HI @LittleCVR ,

Thanks for your remark, and pointing me out to this Docker best practice.

So are they being separated intentionally here?

I believe it is so just because I wrote the Dockerfile without knowing this best practice yet...

Anyway PR are welcome :wink: