Skip to content

Instantly share code, notes, and snippets.

@JJ
Created December 5, 2019 15:35
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 JJ/c581cc93b3d7d63da61538be7b265151 to your computer and use it in GitHub Desktop.
Save JJ/c581cc93b3d7d63da61538be7b265151 to your computer and use it in GitHub Desktop.
Raku Dockerfile for Container Action
FROM jjmerelo/alpine-perl6:latest
LABEL version="4.0.2" maintainer="JJ Merelo <jjmerelo@GMail.com>"
# Set up dirs
ENV PATH="/root/.rakudobrew/versions/moar-2019.11/install/bin:/root/.rakudobrew/versions/moar-2019.11/install/share/perl6/site/bin:/root/.rakudobrew/bin:${PATH}"
RUN mkdir /test
VOLUME /test
WORKDIR /test
# Will run this
ENTRYPOINT raku -v && zef install --deps-only . && zef test .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment