wernight / docker-plex-media-server

Dockerized Plex Media Server
https://registry.hub.docker.com/u/wernight/plex-media-server/
MIT License
128 stars 34 forks source link

Remove unnecessary layers in Dockerfile #1

Closed mikz closed 8 years ago

mikz commented 8 years ago

You can take some inspiration in https://github.com/mikz/docker-plex/blob/master/Dockerfile It is significantly simpler and works like a charm.

For example your getting a deb stores it in a layer, as the remove is in another RUN command. So client will have to download it anyway.

wernight commented 8 years ago

Thanks, I didn't know each RUN incurred another download (no matter how small).