Comments (3)
@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.
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.
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)
- rakudo star 2020.1 fails to install on ubuntu 19.10 HOT 1
- Add module Inline::Perl5 HOT 1
- rakudo star on windows at least still install in perl6 folder
- Rakudo-star 2020.05.01 not usable on windows HOT 6
- compilation (2020.05) fails on openbsd (6.7 current) HOT 2
- rakudo star 2020.05 build failed on FreeBSD 12.1 arm64 HOT 3
- C.UTF-8 locale not supported everywhere HOT 2
- 6 modules failed to install when running rstar install HOT 9
- Update "Rakudo Star - Window" to 2021.04 HOT 1
- Missing argument for "DevCmdArguments"
- latest GPG changes seem to break the GitHub Action Workflows HOT 5
- Add Terminal::LineEditor HOT 2
- prove6 bin dies in 2022.12
- [Compiling Star 2023-02-01] No meta file HOT 1
- [Compiling Star 2023-02-01] Could not find HOT 4
- [Compiling Star 2023-05] Could not find HOT 3
- [2023.05-01 => 2023.06] Update website and download HOT 1
- Add some new modules [feature request] HOT 11
- share/perl6/vendor/short creation as root - when installed via brew HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from star.