From def858854b66f4fdcafbccaebca9435e343839c4 Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Wed, 1 Jan 2020 15:44:03 +0100 Subject: [PATCH] Readd missing cargo build for armv7. Thanks to @dani-garcia! --- docker/Dockerfile.j2 | 2 ++ docker/armv7/mysql/Dockerfile | 1 + docker/armv7/sqlite/Dockerfile | 1 + 3 files changed, 4 insertions(+) diff --git a/docker/Dockerfile.j2 b/docker/Dockerfile.j2 index 72873e3..03322d6 100644 --- a/docker/Dockerfile.j2 +++ b/docker/Dockerfile.j2 @@ -228,6 +228,8 @@ RUN cargo build --features ${DB} --release RUN cargo build --features ${DB} --release --target=aarch64-unknown-linux-gnu {% elif "armv6" in target_file %} RUN cargo build --features ${DB} --release --target=arm-unknown-linux-gnueabi +{% elif "armv7" in target_file %} +RUN cargo build --features ${DB} --release --target=armv7-unknown-linux-gnueabihf {% endif %} ######################## RUNTIME IMAGE ######################## diff --git a/docker/armv7/mysql/Dockerfile b/docker/armv7/mysql/Dockerfile index f17e9c6..77430ca 100644 --- a/docker/armv7/mysql/Dockerfile +++ b/docker/armv7/mysql/Dockerfile @@ -96,6 +96,7 @@ RUN touch src/main.rs # Builds again, this time it'll just be # your actual source files being built +RUN cargo build --features ${DB} --release --target=armv7-unknown-linux-gnueabihf ######################## RUNTIME IMAGE ######################## # Create a new stage with a minimal image diff --git a/docker/armv7/sqlite/Dockerfile b/docker/armv7/sqlite/Dockerfile index 67d3a29..4cd3841 100644 --- a/docker/armv7/sqlite/Dockerfile +++ b/docker/armv7/sqlite/Dockerfile @@ -90,6 +90,7 @@ RUN touch src/main.rs # Builds again, this time it'll just be # your actual source files being built +RUN cargo build --features ${DB} --release --target=armv7-unknown-linux-gnueabihf ######################## RUNTIME IMAGE ######################## # Create a new stage with a minimal image