Commit graph

28 commits

Author SHA1 Message Date
Zed 5725780c99 Bump Nim version in Docker image 2023-08-06 21:02:22 +02:00
Jonas Chopin-Revel e93de59118
Edit Dockerfile (#763)
Co-authored-by: Jonas Chopin-Revel <contact@jonas-chopin.com>
2023-03-28 15:18:16 +02:00
Zed 92a6eb0339 Bump Dockerfile Nim to 1.6.10 2022-11-27 12:49:50 +01:00
Zed 3526318482
Merge pull request #598 from nopdotcom/docker-expose-port
Dockerfile: Move EXPOSE outside the builder stage
2022-05-10 14:10:53 +02:00
Jay Carlson a21a33f835 Docker: add ca-certificates to runtime
Current Alpine doesn't ship with the "well-known" CA
certificates. Without them present, outbound HTTPS or TLS connections
aren't even initiated, leading to this at startup:

```
fetching token failed: No SSL/TLS CA certificates found.
```

This adds `ca-certificates` to the runtime image.
2022-04-01 17:54:58 -07:00
Jay Carlson b5262dc010 Dockerfile: Fix EXPOSE outside the build stages 2022-04-01 16:37:02 -07:00
Zed 266e0a0082 Merge branch 'gardenrobot/optimize-docker-build' 2022-01-30 17:30:18 +01:00
Sam Erika Clotfelter bd1630c2ee remove unneeded -y 2022-01-27 00:01:51 -05:00
Sam Erika Clotfelter c95fc32e0e use docker cache 2022-01-26 23:50:29 -05:00
Zed 8c2e0c66e2 Render markdown files with a tool 2022-01-09 23:35:56 +01:00
Zed 204b3e9e78 Remove unnecessary packages from Dockerfile
Closes #369
Closes #426
2021-12-27 04:10:44 +01:00
Zed 458f34901c Improve Dockerfile 2021-12-27 04:09:04 +01:00
Zed 9eb7532bfa Untrack nitter.conf, add nitter.example.conf
Closes #324
2021-12-27 03:13:59 +01:00
FireMasterK bacc1cbd0d
Create a working docker-compose file. 2021-12-26 23:15:00 +00:00
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