graalpython icon indicating copy to clipboard operation
graalpython copied to clipboard

Docker image as part of releases ?

Open sandys opened this issue 5 years ago • 4 comments

Docker support was recently backported to Java 8u212. This means that all java versions from 8 onwards now play nice with Docker.

There is already an official Docker version of Graal - https://hub.docker.com/r/oracle/graalvm-ce/

It would seriously help in end-user beta testing if the Graal Python project was able to release Docker images as part of its release/CI cycle. This would mean a single docker pull + docker run command would get this running on people's machines and would be super effective in getting people to test this.

The python target that you are already building would be what can be used in the Docker VM and can be easily integrated into your CI.

sandys avatar May 19 '19 13:05 sandys

Since Graal Python is very experimental, we haven't opted to release docker images. We'll check if it makes sense in the future, until then Python is easily available with a gu install python in the CE docker image.

timfel avatar May 20 '19 06:05 timfel

Hi Tim Thanks for getting back. The advantage of releasing in docker is that you would have the docker images versioned in sync with your release version. That allows someone to triage bugs as well in a single line.

For example, it is hard to figure out how to install a particular version of graal python. But even before that, it is hard for people to figure out how to install graal,etc.

The good thing is that the Oracle team realises this and does a Docker release of Graal as well (which is also not generally production ready).

I know you have full authority to do this or not, but this is so trivially incremental for you guys...that it will be very low effort to do this. The reason I'm mentioning this now and not before was the Docker support for Java which was not playing well with Java 8+ versions and got fixed very recently.

There's a lot of value if you make it easy for testers and early adopters to try out graal python in a one liner (even without bothering to install the right java libs, graal, gu install,etc). A single line and python starts working.

The rest is your choice and I'll respect that.

On Mon, 20 May, 2019, 12:28 Tim Felgentreff, [email protected] wrote:

Since Graal Python is very experimental, we haven't opted to release docker images. We'll check if it makes sense in the future, until then Python is easily available with a gu install python in the CE docker image.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/graalvm/graalpython/issues/87?email_source=notifications&email_token=AAASYU3R6SYYAJLBOI75NH3PWJD23A5CNFSM4HN4OHQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVX3VRQ#issuecomment-493861574, or mute the thread https://github.com/notifications/unsubscribe-auth/AAASYU475LBWCTGLKYVASNDPWJD23ANCNFSM4HN4OHQA .

sandys avatar May 20 '19 07:05 sandys

Saw the talk about GraalPy at EuroPython this year, so wanted to try it out in Docker, but noticed that there's no official image at present.

Is there any news about where this feature request sits in the overall roadmap for this project?

amrishparmar avatar Jul 15 '24 12:07 amrishparmar

We have images of the community edition (i.e., without the proprietary parts of the compiler) here: https://github.com/graalvm/container/pkgs/container/graalpy-community

timfel avatar Jul 15 '24 13:07 timfel