Commit Graph

11 Commits

Author SHA1 Message Date
Zed f3ebb87e23
Merge pull request #273 from PeterDaveHello/ImproveDockerfileCacheLeverage
Refactor Dockerfile, separate and move `apk add` upper
2020-11-08 13:30:31 +01:00
Peter Dave Hello b75336ce78 Use JSON notation for CMD's arguments in Dockerfile
Reference - Best practices for writing Dockerfiles:

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

> CMD should almost always be used in the form of CMD ["executable","param1", "param2"…]
2020-11-08 13:30:18 +01:00
Peter Dave Hello 373fabbc94 Refactor Dockerfile, separate and move `apk add` upper
This will allow Docker to cache the pacakges apk added, which saves the
bandwidth and time to build this Docker image.
2020-11-08 18:29:02 +08:00
Peter Dave Hello e2e3b955f4 [Dockerfile] Replace manual `apk update` w/ `--no-cache` 2020-11-08 03:27:56 +01:00
Zed 0558ade6b9 Use Nim 1.2.8 for Docker 2020-11-08 03:27:25 +01:00
Zed 0a8cf7e161 Update Dockerfile 2020-06-02 18:05:54 +02:00
Zed 123bc04b41 Update Dockerfile 2020-06-02 18:05:54 +02:00
Zed 300d82a8ac Update Dockerfile and readme 2019-10-21 06:17:08 +02:00
Zed 089cea0042 Add docker instructions to readme 2019-10-18 00:19:09 +02:00
Kadin Buckton a39a16a4a9 Moved tests from Dockerfile to Travis 2019-10-13 03:23:50 -04:00
Kadin Buckton fcaf57f667 Added Dockerfile 2019-10-10 13:55:16 -04:00