From 06eef6f368f481cbfd6f8ee284c2b31aab0bb09a Mon Sep 17 00:00:00 2001 From: Joe Bellus Date: Thu, 28 Jul 2022 21:13:33 -0400 Subject: [PATCH] musl build for docker --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 3acdd74..0677da4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,7 +33,10 @@ steps: path: /app commands: - cp -R /app/dist ./dist - - cargo build --release + - rustup target add armv7-unknown-linux-gnueabihf + - apt update + - apt-get -y install gcc-arm-linux-gnueabihf + - cargo build --target armv7-unknown-linux-gnueabihf --release - mkdir /app/build - cp target/x86_64-unknown-linux-musl/release/vade /app/build/vade # when: