Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Multi-architecture Images #271

Open
jonpspri opened this issue Jan 4, 2018 · 1 comment
Open

Support Multi-architecture Images #271

jonpspri opened this issue Jan 4, 2018 · 1 comment

Comments

@jonpspri
Copy link
Contributor

jonpspri commented Jan 4, 2018

We've added capabilities to build the apigateway images on multiple architectures, with s390x as our first candidate.

While reviewing apache/openwhisk#3133 , @csantanapr noted that, we should manage apigateway images directly to support s390x.

I propose we build and ship the images as a single "fat manifest" or "multi-architecture manifest" from Docker. This would likely be best implemented as part of the travis build but will likely require some reconfiguration and parameterization of the Makefile. I'm opening this issue to track comments and concerns on the approach.

Open question: How tied is apigateway to Make as the build/test engine? Most of the rest of the incubator-openwhisk projects appear to be using Gradle for build/test, travis for CI/publication, and ansible for deploy. We may also want to take advantage of the multi-architecture build capabilities offered by DockerHub.

P.S. I'm willing to do the work on this issue -- I'm not usually one to drop an issue without a PR, but this one seems to warrant some discussion.

@jonpspri
Copy link
Contributor Author

I'm going to leave this here for now:

openresty/lua-nginx-module#1152

Apparently LuaJIT as it's used in OpenRESTy has some challenges in how it uses some of the legacy pointer capabilities on the ARM64 architectures. Disabling the JIT may be an option, but the 'lua-resty-cjose' module requires LuaJIT. So, in the absence of use cases, etc., I'm left scratching my head as to where to go next. This is related to apache/openwhisk#3172 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant