Giter Site home page Giter Site logo

idris-docker-image's Introduction

Docker images for Idris lang and Idris2

Docker Image Version (latest semver) Docker Image Size (latest semver)

Docker Image Version (latest semver) Docker Image Size (latest semver)

Images

Tags

Idris:

  • dgellow/idris:latest
  • dgellow/idris:v1.3.3
  • dgellow/idris:v1.3.2
  • dgellow/idris:v1.1.1
  • dgellow/idris:v1.0
  • dgellow/idris:v0.99.1
  • dgellow/idris:v0.99
  • dgellow/idris:v0.12.3

Idris2:

  • dgellow/idris2:latest
  • dgellow/idris2:v0.1.0
  • dgellow/idris2:v0.3.0

Usage

From the cli:

$ docker run -it dgellow/idris --help

From a Dockerfile:

FROM dgellow/idris

ADD . /app
WORKDIR /app

RUN idris main.idr -o hello.o
CMD ["/app/hello.o"]

Build the image

Note: building idris can easily take more than 30 minutes depending on your machine and how much CPU/RAM is dedicated to docker

$ docker build -t dgellow/idris:v1.3.2 .

To build idris2 (also quite a long process)

$ docker build -t dgellow/idris2:v0.1.0 -f Dockerfile_idris2 .

idris-docker-image's People

Contributors

dgellow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

abailly

idris-docker-image's Issues

The Idris REPL opens then exits when I run ‘docker run dgellow/idris idris’

My OS is Antergos (Arch) Linux if that makes any difference, though I have yet to test it out elsewhere.
After adding the help flag, I cant see anything else that should open it and keep it that way. The ide-mode option repeated the same error over and over again (can’t remember at the moment, I am on mobile).

I guess Idris2 image needs Chez Scheme

FROM dgellow/idris2

RUN \
  apt-get update -y && \
  apt-get install -y chezscheme

RUN echo 'export PATH=/root/.idris2/bin/:$PATH' >>~/.bashrc
RUN echo 'alias idris=idris2' >>~/.bashrc

It's not a big deal - I can add it myself. But it would be nice if it comes built in. Idris2 can't build without scheme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.