raku / docker Goto Github PK
View Code? Open in Web Editor NEWDocker files for Raku
License: Artistic License 2.0
Docker files for Raku
License: Artistic License 2.0
docker pull
still gets you 2016.11 as latest from the official repo:
https://github.com/docker-library/official-images/blob/master/library/rakudo-star
Noticed in RWN that the new Rakudo Star is out, but https://hub.docker.com/_/rakudo-star has not been updated yet. I'm not sure who to ask, but this is listed as the "Where to file issues" link, so I figured I'd start there.
(FWIW, I'm asking because there are actually fixes in 2021.02.1 and current zef/fez that I want to include in Docker images that I am making, not just for the fun of the bump. ๐)
My comment in #15 didn't get noticed, I open a new issue.
Your repo on Docker Hub is not an automated build, you have to update the README manually.
Here you find more infos about automated builds. Seems it isn't possible to convert an existing repo, there is an open issue on Docker: docker/hub-feedback#794
I don't want to be the one who always complains, so I'll propose some changes to the README.
That includes, for instance, READMEs like here
Please see the following build log when I attempt to docker build
this project.
https://gist.github.com/lag-linaro/c45071d954c213868107c8dc487ae0a6
Any idea what's happening?
See https://gist.github.com/japhb/96ab63db5f19afb29aae3f5b92b1b834 for details.
Essentially if raku -c
is run under USER raku
, and it is checking a module with an exported MAIN, it will actually run MAIN in addition to syntax checking it. If the USER raku
is commented out, raku -c
only does the syntax check as requested.
I tested it with rakudo-star:2020.10
; happy to retest with latest rakudo-star when #43 is completed.
Could @hoelzro or someone update latest official Image to 2018.04?
cf #14 (comment)
Hi - I am keen to use perl6/docker for development, not just run a script or repl. But.... perl6/raku really could use unicode support such as en_US.UTF8. I have tried appending variants like this in the Dockerfile, but do not have the skills to get it working ;-(. ...
ENV LANG=en_US.UTF-8
RUN apt-get clean \
&& apt-get --yes update \
&& apt-get --yes install locales \
&& echo "LANG=en_US.UTF-8" >> /etc/environment \
&& locale-gen \
&& dpkg-reconfigure locales
The change is normally pretty trivial, but now that the docker build process uses GPG to verify the integrity of the tarball, and since the key used to generate the signature for 2019.03 differs from the one used for 2018.10, we need a way to verify that the key is authentic.
CC @jstuder-gh
I don't know anything about docker, but I guess we're responsible for this page? https://hub.docker.com/_/rakudo-star/
This paragraph sounds a tad outdated:
Rakudo Star is a Perl 6 distribution designed for use by early adopters of the language. It includes a virtual machine (the JVM or MoarVM), the Rakudo Perl 6 compiler, and a suite of modules that users may find useful. This image includes the MoarVM backend for the compiler.
If I had to reword it, I'd write it as:
Rakudo Star 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.
Also, the "Contributing/Getting Help" section lists RT as the bug tracker. Since RT's interface is disabled and it's falling out of favour of the core devs, it's probably better to include our GitHub-based tracker instead: https://github.com/rakudo/rakudo/issues/new
@patrickbkr @Altai-man @m-dango @lizmat
Dear Rukuners.
Seems like providing recent Star docker images is a manual process, which is done "now and then". I would have some wishes:
Not sure if it made it past release candidate yet, but 2016.07 is close.
on ubuntu 14.04, with gnome-terminal and bash:
docker run -ti rakudo-star
rlwrap: error: My terminal reports width=0 (is it emacs?) I can't handle this, sorry!
The current 2010.10 image on docker hub is missing /usr/share/perl6/vendor/bin/
from $PATH
, which contains zef
, prove6
etc. This issue was fixed in #36. A new image should be pushed to docker hub so that these commands can be run normally.
To reproduce:
$ docker run --interactive --tty rakudo-star:alpine sh
/ # prove6
===SORRY!=== Error while compiling /usr/share/perl6/vendor/resources/45381EFE59AF8BDD89F949C5DEABE77175EACA38
===SORRY!=== Error while compiling //vendor#sources/5D2A0C938B6800BF1A3F66830C6AD233F1FC6C01 (App::Prove6)
Could not find Path::Finder:ver<0.4.4+> in:
/root/.raku
/usr/share/perl6/site
/usr/share/perl6/vendor
/usr/share/perl6/core
CompUnit::Repository::AbsolutePath<4078024685536>
CompUnit::Repository::NQP<4078142578992>
CompUnit::Repository::Perl5<4078142579032>
at //vendor#sources/5D2A0C938B6800BF1A3F66830C6AD233F1FC6C01 (App::Prove6):5
Could you please update to the current rakudo star release?
I was use this image build on arm64 and successed , So I think it can be support arm64 and we can add it to https://hub.docker.com/u/arm64v8/ .
See https://github.com/docker-library/official-images#architectures-other-than-amd64 and https://github.com/docker-library/official-images#multiple-architectures for more information about multi-architecture official images.
When using the raku user, warnings occured because the home directory of raku has not been created
docker run -it --rm --user raku rakudo-star:latest
Welcome to ๐๐๐ค๐ฎ๐๐จโข v2020.10.
Implementing the ๐๐๐ค๐ฎโข programming language v6.d.
Built on MoarVM version 2020.10.
I ran into a problem trying to set up history: Failed to create directory '/home/raku/.raku' with mode '0o777': Failed to mkdir: No such file or directory
Sorry, but history will not be saved at the end of your session
I ran into a problem while trying to set up Readline: Failed to open file /home/raku/.raku/rakudo-history: No such file or directory
Falling back to Linenoise (if present)
You may want to `zef install Readline` or `zef install Linenoise` or use rlwrap for a line editor
To exit type 'exit' or '^D'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.