robo-identities/docker-compose.yml
KoalaSat 424a297c30 Add docker generate builds wasm & android native (#17)
* Generate Builds

* Generate Android builds

* Last commit
2024-04-29 23:29:36 +00:00

27 lines
709 B
YAML

version: '3.4'
services:
rust_wasm:
build:
context: .
dockerfile: ./robo-identities-wasm/Dockerfile
volumes:
- ./builds/wasm/:/app/robo-identities-wasm/pkg/:rw
command: wasm-pack build
rust_java_robonames:
build:
context: .
dockerfile: ./Dockerfile
target: robonames
volumes:
- ./builds/java/robonames:/root/target/:rw
command: cargo ndk -t armeabi-v7a -t arm64-v8a -o ./target build --release
rust_java_robohash:
build:
context: .
dockerfile: ./Dockerfile
target: robohash
volumes:
- ./builds/java/robohash:/root/target/:rw
command: cargo ndk -t armeabi-v7a -t arm64-v8a -o ./target build --release