mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-10 23:03:31 -07:00
tools: target armv7 musleabihf
This commit is contained in:
committed by
Will Greenberg
parent
e04b78f0e0
commit
f2028a704f
@@ -1,5 +1,3 @@
|
||||
FROM rust:1.86-bullseye
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y build-essential libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf
|
||||
RUN rustup target add armv7-unknown-linux-gnueabihf
|
||||
RUN rustup target add armv7-unknown-linux-musleabihf
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
# ./tools/run-docker-devenv
|
||||
#
|
||||
# Inside the shell:
|
||||
# cargo build --bin rayhunter-daemon --target armv7-unknown-linux-gnueabihf --release
|
||||
# cargo build --bin rayhunter-daemon --target armv7-unknown-linux-musleabihf --release
|
||||
#
|
||||
# Your output binary is in ./target/armv7-unknown-linux-gnueabihf/release/rayhunter-daemon
|
||||
# Your output binary is in ./target/armv7-unknown-linux-musleabihf/release/rayhunter-daemon
|
||||
|
||||
docker build -t rayhunter-devenv -f tools/devenv.dockerfile .
|
||||
exec docker run --user $UID:$GID -v ./:/workdir -w /workdir -it rayhunter-devenv "$@"
|
||||
|
||||
Reference in New Issue
Block a user