Skip to content

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

Merged
ShogunPanda merged 2 commits intonodejs:mainfrom
ShogunPanda:platform-wasm
Jan 18, 2023
Merged

feat: Allow to select WASM platform when using Docker.#215
ShogunPanda merged 2 commits intonodejs:mainfrom
ShogunPanda:platform-wasm

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

@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