Docker image with recent Nim included
docker run -it --rm ghcr.io/maxisoft/nim-docker-images/nim
We use github actions and github packages to build and deploy a multi arch docker image.
Currently the supported arch are armv7
, arm64
and x64
.
- use _/Alpine as base
- install several packages such as dependencies (sqlite, ssl, ect...) and compilers/interpreters (gcc, g++, nodejs)
- clone official Nim repo and checkout a specific tag
- compile and install nim into
/nim
- Fork the repo
- Enable the github actions in your own forked repo
- Edit the github actions file to checkout the newest version tag
- Commit and wait for the github actions to successfully build an image
- Create a pull request