https://github.com/nekketsuuu/rill-dockerfiles
[Deprecated] Dockerfiles for the Rill Programming Language
https://github.com/nekketsuuu/rill-dockerfiles
dockerfile rill
Last synced: 3 months ago
JSON representation
[Deprecated] Dockerfiles for the Rill Programming Language
- Host: GitHub
- URL: https://github.com/nekketsuuu/rill-dockerfiles
- Owner: nekketsuuu
- Created: 2017-04-19T02:29:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-12T18:25:44.000Z (over 7 years ago)
- Last Synced: 2023-08-29T18:39:10.078Z (almost 2 years ago)
- Topics: dockerfile, rill
- Homepage: https://hub.docker.com/r/nekketsuuu/rill/
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**Depricated**: The official repository of [Rill](https://github.com/yutopp/rill) came to distribute Dockerfile. Use the official images.
## About
This repository contains some [Docker](https://www.docker.com/) container definitions for [the Rill programming language](https://github.com/yutopp/rill).
## Containers
| Rill Version | Command | Memo |
|--------------|---------|------|
| [2c2e05e](https://github.com/yutopp/rill/commit/2c2e05e5a772d5f6f9d2ce49b861fae283d15082) | `docker pull nekketsuuu/rill:2c2e05e` | Compatible with [進捗大陸01](https://yutopp.github.io/shinchoku-tairiku-web/01) |## Usage
``` bash
docker run -it --rm nekketsuuu/rill bash # Note: Sometimes `sudo` is required.
```In the container, you can use `rillc`. For example,
``` bash
# In the container...
rillc ~/rill/examples/fizzbuzz.rill -o a.out
./a.out
```### Container as a Compiler
You can use this container as the Rill compiler by the following function on bash.
``` bash
rillc () {
local args="$@" ;
docker run --rm -u "$(id -u):$(id -g)" -v "$(pwd):/code" nekketsuuu/rill:latest bash -c "cd /code && rillc $args"
}
```Example:
``` bash
cd rill/examples && rillc fizzbuzz.rill -o a.out
```## Local Build
To build a docker container locally, run
``` bash
docker build -t rill .
docker run -it --rm rill bash
```## Contributing
Feel free to make an issue or a pull-request!
## Maintainer
[nekketsuuu](https://github.com/nekketsuuu)