mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
darkirc: add partially working docker image (bug with libunwind unresolved)
This commit is contained in:
@@ -20,6 +20,17 @@ $(BIN): $(SRC)
|
||||
$(CARGO) build $(TARGET_PRFX)$(RUST_TARGET) --release --package darkirc
|
||||
cp -f ../../target/$(RUST_TARGET)/release/darkirc $@
|
||||
|
||||
android:
|
||||
docker build -t test:latest . --file android.Dockerfile
|
||||
# Use this command to get an interactive terminal inside docker:
|
||||
#docker run -v $(shell pwd)/../../:/root/src -it test:latest /bin/bash
|
||||
docker run -v $(shell pwd)/../../:/root/src -t test:latest make _aarch64-android
|
||||
|
||||
# Invoked inside docker by the command above
|
||||
# We need to mount this directory as a volume using -v so docker can access it
|
||||
_aarch64-android:
|
||||
cargo build --release --target aarch64-linux-android --package darkirc
|
||||
|
||||
clean:
|
||||
rm -f $(BIN)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user