primeimages/nim

Sponsored OSS

By PrimeImages

Updated over 3 years ago

Ubuntu with Nim installed

Image
Languages & Frameworks
Integration & Delivery
0

4.8K

nim

Description

This image contains a build of the Nim programming language on an Ubuntu base image. Amongst others, it's used by a number of solutions in the Primes project. It was created as a separate base image because the nim build time was prohibitive for it to be built as part of the Primes CI process.

Please note that there is also a Nim image provided by the Nim community, which should probably be used for most purposes. This image was created because the author of one of the Primes solutions concluded that a custom build yielded better performance in the context of Primes than the official image did.

Usage

To run the nim image as is, use the following command:

docker run -ti primeimages/nim

To use the nim image as a base image for a Docker image of your own creation, make sure the first line of your Dockerfile looks as follows:

FROM primeimages/nim:<version>

Replace <version> with the Nim version you want to use that's available in the image's Tags list, or latest for the latest available version.

Dockerfile source code

The source code for this image is available at the following location: https://github.com/PlummersSoftwareLLC/Nim-docker.

Contact information

If you have any questions about the nim image, please create an issue in the GitHub repository's Issues section.

Docker Pull Command

docker pull primeimages/nim