Skip to content
Docker image for building lumo against the musl.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ami
README.md

README.md

Docker musl 4️⃣ lumo

This repo contains the DockerFile necessary for building Lumo (the ClojureScript self-hosted Node.js interpreter) statically, against the musl libc replacement.

This is particularly important for creating your own AWS Lambda runtime.

More information and detailed instructions on how to achieve that can be found at grav/aws-lumo-cljs-runtime.

Build

After cloning, run:

cd ami
docker build . -t lumo-musl-ami

Compiling Lumo

First things first, pull down the docker image:

docker pull arichiardi/lumo-musl-ami

Second, clone lumo:

git clone git@github.com:anmonteiro/lumo   # anywhere on your filesystem

Finally, build using the image:

docker run -v /path/to/lumo:/lumo -v /home/user/.m2:/root/.m2 -v /home/user/.boot/cache:/.boot/cache --rm lumo-musl-ami

The /root/.m2 and /.boot/cache mappings are optional but recommended for avoiding downloading dependencies multiple times.

The (long) process will compile the lumo static binary under /path/to/lumo/build.

You can’t perform that action at this time.