Sign inSign up

landrunner1/nodepack

By landrunner1

Updated about 3 years ago

images for cross compile and pack dependent node modules

Image
0

316

landrunner1/nodepack repository overview

nodepack

This is a Docker image to compile and pack a node project with dependent node_modules.
It also can be used for compiling dependent node modules for other platforms.

Usage

Install Cross Docker Environment
sudo apt-get install qemu-user-static
Compile and package
cd path_to_your_project
docker run -v /$(pwd):/work --rm -t landrunner1/nodepack:18

If you want to compile C++ code of dependent moudles for another platform, you can specify the platform.

cd path_to_your_project
docker run -v /$(pwd):/work --platform linux/arm/v7 --rm -t landrunner1/nodepack:18
GitHub

https://github.com/landrunner/nodepack

Tag summary

Content type

Image

Digest

sha256:c8e82302e

Size

233.4 MB

Last updated

about 3 years ago

docker pull landrunner1/nodepack