/Nim-Docker-Images

Multiarch Alpine based Docker image with Nim included

Primary LanguageRubyMIT LicenseMIT

Nim-Docker-Images

Docker image with recent Nim included

TLDR

docker run -it --rm ghcr.io/maxisoft/nim-docker-images/nim

Technical descriptions

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.

Image creation steps

  • 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

How to add and use the latest Nim version

  • 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