Skip to main content

Run

Usage: cppjs run [options]

run docker application

Options:
-h, --help display help for command

The bugra9/cpp.js Docker image includes all the necessary tools for compiling to Web and Android using Cpp.js, such as Emscripten, Android SDK, Android NDK, JDK, SWIG, CMake, and SQLite3. To run an application within this Docker image, the command cpp.js run is used.

Here is a minimal example:

cppjs run -- cmake --version
cmake version 3.28.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).
info

Docker Image: You can access the docker image from this link.
Dockerfile: You can access the dockerfile from this link.
Run Function: You can access the run function from this link.