mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
arm64 confirm
This commit is contained in:
parent
5a1ea9055d
commit
8b1679be4d
@ -3,7 +3,7 @@ FROM rust:1.62-slim-bullseye AS builder-base
|
|||||||
|
|
||||||
# Set env for our builder
|
# Set env for our builder
|
||||||
ENV CARGO_TERM_COLOR="always" \
|
ENV CARGO_TERM_COLOR="always" \
|
||||||
RUSTFLAGS="-Ctarget-feature=+crt-static" \
|
RUSTFLAGS="-Ctarget-feature=-crt-static" \
|
||||||
OPENSSL_INCLUDE_DIR="/usr/include/openssl/" \
|
OPENSSL_INCLUDE_DIR="/usr/include/openssl/" \
|
||||||
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER="arm-linux-gnueabihf-gcc" \
|
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER="arm-linux-gnueabihf-gcc" \
|
||||||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER="aarch64-linux-gnu-gcc"
|
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER="aarch64-linux-gnu-gcc"
|
||||||
@ -70,12 +70,12 @@ COPY . .
|
|||||||
|
|
||||||
# Compiling application, take your time
|
# Compiling application, take your time
|
||||||
### amd64
|
### amd64
|
||||||
RUN cargo build --target=x86_64-unknown-linux-gnu --release -p lldap -p migration-tool
|
#RUN cargo build --target=x86_64-unknown-linux-gnu --release -p lldap -p migration-tool
|
||||||
#######################################################
|
#######################################################
|
||||||
### Only enable if building non-native architecture ###
|
### Only enable if building non-native architecture ###
|
||||||
#######################################################
|
#######################################################
|
||||||
### arm64
|
### arm64
|
||||||
#RUN cargo build --target=aarch64-unknown-linux-gnu --release -p lldap -p migration-tool
|
RUN cargo build --target=aarch64-unknown-linux-gnu --release -p lldap -p migration-tool
|
||||||
### armhf
|
### armhf
|
||||||
#RUN cargo build --target=armv7-unknown-linux-gnueabihf --release -p lldap -p migration-tool
|
#RUN cargo build --target=armv7-unknown-linux-gnueabihf --release -p lldap -p migration-tool
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user