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

feat: Allow to select WASM platform when using Docker. #215

Merged
merged 2 commits into from
Jan 18, 2023

Conversation

ShogunPanda
Copy link
Contributor

I've added a process.env.WASM_PLATFORM to the build script to select the platform to build Docker image for.
Also, I've updated Docker image to be smaller and to use Node 16 to build.

Fixes #208.

@ShogunPanda
Copy link
Contributor Author

@dnlup As you originally work on this, WDYT?

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Dockerfile Outdated Show resolved Hide resolved
@mcollina
Copy link
Member

I would recommend we bump it to v18, September is close too.

@ShogunPanda
Copy link
Contributor Author

Done, updated Docker to use 18.

@ShogunPanda
Copy link
Contributor Author

@mcollina @RafaelGSS Green light to merge this?

Copy link
Member

@RafaelGSS RafaelGSS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it a major?

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ShogunPanda
Copy link
Contributor Author

Is it a major?

No, it's not. Docker is only used within the build process so it's not and user facing API.

@ShogunPanda ShogunPanda merged commit 6f11d7b into nodejs:main Jan 18, 2023
@ShogunPanda ShogunPanda deleted the platform-wasm branch January 18, 2023 14:29
@dnlup
Copy link
Contributor

dnlup commented Jan 31, 2023

Sorry @ShogunPanda , I missed this. Great work!

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

Successfully merging this pull request may close these issues.

Could not open '/lib64/ld-linux-x86-64.so.2'
4 participants