Skip to content

ARM support in Docker build #48

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

Closed
mojotalantikite opened this issue Jan 19, 2021 · 0 comments
Closed

ARM support in Docker build #48

mojotalantikite opened this issue Jan 19, 2021 · 0 comments

Comments

@mojotalantikite
Copy link
Contributor

mojotalantikite commented Jan 19, 2021

The current Docker container is built off of openjdk:12-alpine, which unfortunately doesn't have ARM support. Looking at the openjdk Docker Hub page, it doesn't look like any of the Alpine image tags have ARM support in general. With the new Apple M1 silicon this will cause issues if you're trying to build locally to test openapi generation.

I also noticed that in #27 the Dart SDK generation was having issues with musl in the Alpine image. Between these two issues it might make sense to move to another base image altogether.

I did some testing with the Debian openjdk:16-slim-buster container and I was able to generate libraries for Typescript just fine.

I'll put together a PR in a few for others to take a look at in case there is interest in this. One thing to note is the container size is a lot bigger.

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