1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-21 02:53:56 +00:00

Fix alpine armv7 build

Reference: https://github.com/messense/rust-musl-cross/pull/34
This commit is contained in:
Daniel García 2021-03-23 23:47:12 +01:00
parent f9ebb780f9
commit 60164182ae
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
2 changed files with 4 additions and 0 deletions

View file

@ -38,6 +38,7 @@ RUN rustup set profile minimal
ENV USER "root"
ENV RUSTFLAGS='-C link-arg=-s'
ENV CFLAGS_armv7_unknown_linux_musleabihf="-mfpu=vfpv3-d16"
# Creates a dummy project used to grab dependencies
RUN USER=root cargo new --bin /app