https://github.com/mkst/cheerp-docker
Repo containing Dockerfiles to build cheerp-compiler & utils
https://github.com/mkst/cheerp-docker
Last synced: 5 months ago
JSON representation
Repo containing Dockerfiles to build cheerp-compiler & utils
- Host: GitHub
- URL: https://github.com/mkst/cheerp-docker
- Owner: mkst
- Created: 2022-08-27T11:28:49.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-27T11:35:09.000Z (almost 4 years ago)
- Last Synced: 2025-01-23T04:13:16.883Z (over 1 year ago)
- Language: Dockerfile
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cheerp-docker
Docker files to build the Cheerp compiler, utilities and libraries for various environments.
NOTE: Currently only Ubuntu 22.04 is supported.
**Build**
```sh
docker build . \
-f ubuntu/22.04/Dockerfile \
-t cheerp-compiler:2.7
```
**Run**
```sh
docker run --rm -ti -v $(pwd):/work cheerp-compiler:2.7
# /opt/cheerp/bin/clang++ /work/tests/example.cpp -o /work/tests/cheerp_example.js -O3
```