Commit Graph

14 Commits

Author SHA1 Message Date
Peter Dave Hello 739eb12bed
Set the tag of Docker base image: Redis to 6-alpine (#427)
Redis 6.0.4 is a little bit dated, there are some security
updates in the futures versions.

Set the image tag to 6-alpine, instead of 6.0.15-alpine or 6.2.5-alpine,
so that we don't need to manually follow the minor and patch versions
manually, will be more convenient.

(Could use with `--pull` parameter when building the image, so that
Docker will always check the latest 6-alpine)
2021-08-18 19:39:57 +02:00
Zed 97a582e837 Add ssh to docker to fix package installation 2020-11-15 03:58:08 +01:00
SolitudeSF f5d0ddf9b8 Change docker image 2020-11-10 15:54:08 +01:00
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