Giter Site home page Giter Site logo

Support ARM platform about alpine-php HOT 14 CLOSED

jorge07 avatar jorge07 commented on May 24, 2024
Support ARM platform

from alpine-php.

Comments (14)

jorge07 avatar jorge07 commented on May 24, 2024 3

It's in the plan. Also add multi stage builds. I'll try to get this done during next week. Also xdebug 2.70 was released so 7.3 should be bug free

from alpine-php.

andig avatar andig commented on May 24, 2024 1

I've added an issue upstream at codecasts/php-alpine#79

from alpine-php.

andig avatar andig commented on May 24, 2024

ping @jorge07 any progress on this one? Would be happy to help, if only by testing.

from alpine-php.

jorge07 avatar jorge07 commented on May 24, 2024

@andig not yet. I'll try to find some time this weekend ;)

from alpine-php.

andig avatar andig commented on May 24, 2024

I‘m still hugely interested in this but confused how to move this forward. I understand the alpine image aleady supports multiarch. If the package repo does the same we might already be set? What I don‘t get though is how to specify the desired architecture during build in order to bundle them up again inside a docker manifest (if thats the process)?

from alpine-php.

andig avatar andig commented on May 24, 2024

Answering myself here. https://stackoverflow.com/questions/51400625/build-and-push-a-multi-arch-docker-image explains how to extract arch-specific tags from base multi arch image. I‘ll see how far that approach would get me.

from alpine-php.

andig avatar andig commented on May 24, 2024

Ok. I got the basics right, however the cast repo does unfortunately not contain binaries for other architectures:

fetch https://php.codecasts.rocks/v3.8/php-7.3/aarch64/APKINDEX.tar.gz
ERROR: https://php.codecasts.rocks/v3.8/php-7.3: No such file or directory
WARNING: Ignoring APKINDEX.f7859436.tar.gz: No such file or directory
WARNING: The repository tag for world dependency 'php@cast' does not exist
...

Any thoughts were to get multi-arch binaries?

from alpine-php.

andig avatar andig commented on May 24, 2024

Ping @jorge07 if you have any hint where/how to get packages for target architectures I could take this further.

from alpine-php.

jorge07 avatar jorge07 commented on May 24, 2024

I think will need to compile.

from alpine-php.

jorge07 avatar jorge07 commented on May 24, 2024

We no longer depend on codecast so this thing is unlocked.

from alpine-php.

jorge07 avatar jorge07 commented on May 24, 2024

Initial work is done. Will aggregate the manifests to the pipeline and that should do it

from alpine-php.

m0sviatoslav avatar m0sviatoslav commented on May 24, 2024

@jorge07 Hi, do you still working on adding support for ARM? It's been a year since the last comment, and I wonder if it has a chance to be done :)

from alpine-php.

jorge07 avatar jorge07 commented on May 24, 2024

well it's in master

from alpine-php.

jorge07 avatar jorge07 commented on May 24, 2024

Feedback appreciated:
https://hub.docker.com/layers/jorge07/alpine-php/8.1/images/sha256-c42c43d0533af132410837446f55d81670fde91a17ef794915fe6b031f4f72cb?context=repo

from alpine-php.

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.