Giter Site home page Giter Site logo

Comments (3)

AntonOks avatar AntonOks commented on July 23, 2024

@p6steve

Sorry, no idea what your "issue" is all about. Do you want (me) to add a "ubuntu.Dockerfile" within https://github.com/rakudo/star/tree/master/lib/docker or...?

If so, pull requests are highly appreciated.

Regards
AntonOks

from star.

librasteve avatar librasteve commented on July 23, 2024

hi @AntonOks - yes please ... I am saying that the line

FROM rakudo-star:2020.01 (or similar)
only works on the amd64 (Intel) cpu platform or via Rosetta emulation (slow)

I want to run native on a mac M1, so I need this argument supported:

FROM --platform=linux/arm64 rakudo-star:2020.01 (or similar)
which will build/run native on the arm64 (Arm) cpu platform

Personally I use ubuntu, but my guess is that the linux part of the platform argument covers ubuntu + debian + fedora so I guess that when I run docker under my ubuntu instances eg. on the Cro example it already runs one of these https://github.com/rakudo/star/tree/master/lib/docker - but I don't know enough about docker/linux to know which one.

I would try to PR but I am woefully ignorant about the rakudo-star process and the details around the docker --platform argument.

from star.

librasteve avatar librasteve commented on July 23, 2024

I have been able to find out a little about the latest Docker buildx capability (which will replace docker build in the CLI) here

I think that this contains the essence of what I am asking for - that is a multiplatform (arm64 & amd64) rakudo-star docker image.

So I would suggest morphing this Issue into a generic request to implement this (or similar):

docker buildx build --platform=linux/amd64,linux/arm64 .

Since this can be enabled as experimental now and will soon become the standard docker build technique - I hope that this is relatively painless to implement at some point ...?

from star.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.