Public | Automated Build

Last pushed: 2 years ago
Short Description
Dockerfile for installing CoffeeScript 1.7.1 on Ubuntu 14.04
Full Description

docker-coffeescript

Dockerfile for installing CoffeeScript 1.7.1 on Ubuntu 14.04

How to use

Check CoffeeScript version

$ docker run -it --rm shouldbee/coffeescript coffee --version

Open REPL

$ docker run -it --rm shouldbee/coffeescript coffee

Work with source codes

Make your code at docker host.

hello.coffee:

console.log("Hello World!")

Then you can run it by mounting with -w option.

$ docker run -it --rm -v `pwd`:/pwd -w /pwd shouldbee/coffeescript coffee hello.coffee
Hello World!

Also you can compile it.

$ docker run -it --rm -v `pwd`:/pwd -w /pwd shouldbee/coffeescript coffee -c hello.coffee

Tips

Alias docker command in your .bashrc:

alias coffee="docker run -it --rm -v `pwd`:/pwd -w /pwd shouldbee/coffeescript coffee"
Docker Pull Command
Owner
shouldbee
Source Repository

Comments (1)
koalalorenzo
2 years ago

It would be amazing if we can build this repository/image again in order to have CoffeeScript to the latest version!