darkirc: add partially working docker image (bug with libunwind unresolved)

This commit is contained in:
x
2023-09-05 15:05:25 +02:00
parent b96a54bb4f
commit 291d3e343e
2 changed files with 91 additions and 0 deletions

View File

@@ -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)