Commit graph

15 commits

Author SHA1 Message Date
Marko Viitanen f7a397b102
Merge pull request #304 from PeterDaveHello/RemoveAdditionalAptCleanInDockerfile
Remove additional apt-get clean in Dockerfile
2021-06-03 17:12:57 +03:00
Peter Dave Hello b7befcd680 Remove additional apt-get clean in Dockerfile
Reference:

- https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get

> Official Debian and Ubuntu images automatically run `apt-get clean`,
> so explicit invocation is not required.
2021-06-03 22:00:30 +08:00
Peter Dave Hello 720e262c68 Use COPY instead of ADD for files and folders in Dockerfile
Reference:

- https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#add-or-copy
2021-06-03 21:57:13 +08:00
Marko Viitanen 0164291688
Merge pull request #191 from PeterDaveHello/refactor-Dockerfile
Refactor Dockerfile
2018-03-18 11:14:57 +02:00
Peter Dave Hello 8380b6c0f3 Update Dockerfile base image to Ubuntu 18.04 2018-03-18 14:42:57 +08:00
Peter Dave Hello 2e8c2e2135 Reuse local repository in Dockerfile 2018-03-18 14:25:05 +08:00
Peter Dave Hello 960ea5144b Fix Dockerfile indentation 2018-03-18 14:13:50 +08:00
Peter Dave Hello e1570a2a5b Use && instead of ; in Dockerfile steps 2018-03-18 14:12:43 +08:00
Marko Viitanen effab81d00 Added pkgconf package to Dockerfile REQUIRED_PACKAGES
- Fixes Docker build
2016-08-18 10:00:26 +03:00
Marko Viitanen 42641cdb5e Fix for Dockerfile: install kvazaar to the system 2016-03-11 13:34:28 +02:00
Marko Viitanen 292660d73f Modify Dockerfile to update the package lists before installing
- Also added usage examples
2016-03-11 10:55:57 +02:00
Marko Viitanen b93cf5316e Commented the Dockerfile and removed "apt-get update" command -> smaller image 2016-03-09 14:08:24 +02:00
Marko Viitanen 4ca43aeb04 Moved required packages and apt-mark showauto output to env variables 2016-03-09 13:22:27 +02:00
Marko Viitanen 1ef0332cbe Modified Dockerfile to execute in a single "RUN" and remove "apt-mark showauto"
- Decreases docker image size 400MB -> 180MB
2016-03-09 12:56:59 +02:00
Marko Viitanen e5439ced13 Added a Dockerfile using ubuntu:15.10 as base 2016-03-09 12:18:57 +02:00