Skip to content

jstuder-gh/docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rakudo Star

Build Status

This Docker image includes Rakudo Star, which is a Perl 6 compiler distribution that includes MoarVM virtual machine, Rakudo Perl 6 compiler, a suite of modules that users may find useful, and language documentation.

Project homepage: https://rakudo.org

GitHub repository: https://github.com/rakudo/star

The Dockerfile responsible: https://github.com/perl6/docker/tree/master/Dockerfile

Perl 6 Language Specification: https://github.com/perl6/roast

Perl 6 Language Documentation: https://docs.perl6.org/

Build

You can build an image from this Dockerfile as indicated below:

$ docker build -t rakudo-star /path_to_dockerfile/

In addition, you can specify the version of Rakudo Star that you want at build time:

$ docker build --build-arg rakudo_version=${DESIRED_VERSION} -t rakudo-star /path_to_dockerfile/

If no version is specified, it will default to the version listed in the Dockerfile. It is recommended that you use the default version.

Usage

Simply running a container with the image will launch a Perl 6 REPL:

$ docker run -it rakudo-star
> say 'Hello, Perl!'
Hello, Perl!

You can also provide perl6 command line switches to docker run:

$ docker run -it rakudo-star perl6 -e 'say "Hello!"'

In addition, you can mount a directory from the host within a container:

$ docker run -it -v $HOME/my_p6_projects/:/mount_location/ rakudo-star /bin/bash

Then, you can run your scripts from inside the container:

# perl6 /mount_location/my_p6_script.p6

Contributing/Getting Help

Many Perl 6 developers are present on #perl6 on Freenode

Issues for Rakudo are tracked on https://github.com/rakudo/rakudo/issues

About

Docker files for Perl 6

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%