GithubHelp home page GithubHelp logo

Comments (2)

johanandren avatar johanandren commented on September 27, 2024

Upstream fixes in akka-grpc in progress in akka/akka-grpc#1477

For the record the easiest path right now is probably using rosetta and an x86 JDK, that will pick up the x86 protoc artifacts from maven central.

Next problem is docker though, by default it will now build an arm64 image on mac which can't be run on Akka Serverless.

You can use an experimental flag in docker-desktop saying "Use the new virtualization framework" to enable buildx which allows building for a different target arch than you are on.

I'm not sure about maven yet but with sbt you can then only build up to the staged docker image with docker:stage

Then manually build and push the docker image from the generated target/docker/stage directory like so:

sbt docker:stage
docker buildx build --platform=linux/amd64 --push -t me/image-name:tag target/docker/stage

from kalix-jvm-sdk.

johanandren avatar johanandren commented on September 27, 2024

Upstream issue for the maven docker plugin to support cross building: fabric8io/docker-maven-plugin#1502

from kalix-jvm-sdk.

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.