Skip to content

Instantly share code, notes, and snippets.

@akirak
Created April 2, 2018 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akirak/9d97eaca5f341f8587d3ca4994c4e17b to your computer and use it in GitHub Desktop.
Save akirak/9d97eaca5f341f8587d3ca4994c4e17b to your computer and use it in GitHub Desktop.
Nim on Fedora with RPM Fusion on Docker
FROM fedora
MAINTAINER Akira Komamura, akira.komamura@gmail.com
# Add RPM Fusion
RUN dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# Install packages
RUN dnf -y install nim
# git is required by nimble to download a package
RUN dnf -y install git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment