Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arichiardi/docker-lumo-musl
Docker image for building lumo against the musl.
https://github.com/arichiardi/docker-lumo-musl
Last synced: 22 days ago
JSON representation
Docker image for building lumo against the musl.
- Host: GitHub
- URL: https://github.com/arichiardi/docker-lumo-musl
- Owner: arichiardi
- Created: 2019-05-18T00:51:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-24T03:23:28.000Z (over 5 years ago)
- Last Synced: 2024-10-22T13:56:26.902Z (2 months ago)
- Language: Dockerfile
- Size: 9.77 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker ➕ musl 4️⃣ lumo
This repo contains the DockerFile necessary for building
[Lumo](https://github.com/anmonteiro/lumo) (the ClojureScript self-hosted
Node.js interpreter) statically, against the [musl
libc](https://www.musl-libc.org/) replacement.This is particularly important for creating your own [AWS Lambda
runtime](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html).More information and detailed instructions on how to achieve that can be found
at [grav/aws-lumo-cljs-runtime](https://github.com/grav/aws-lumo-cljs-runtime).### Build
After cloning, run:
```shell
cd ami
docker build . -t lumo-musl-ami
```### Compiling Lumo
First things first, pull down [the docker image](https://cloud.docker.com/repository/docker/arichiardi/lumo-musl-ami):
```shell
docker pull arichiardi/lumo-musl-ami
```Second, clone `lumo`:
```shell
git clone [email protected]: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`.