1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-18 17:43:57 +00:00

Update rocket to latest master

Downgrade rust version to fix cargo issue
Set rustup profile to minimal
This commit is contained in:
Daniel García 2019-10-24 23:21:04 +02:00
parent 57b1d3f850
commit fccc0a4b05
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
17 changed files with 74 additions and 43 deletions

View file

@ -63,6 +63,8 @@ ENV OPENSSL_LIB_DIR="/usr/lib/arm-linux-gnueabihf"
COPY . .
# Build
RUN rustup self update
RUN rustup set profile minimal
RUN rustup target add armv7-unknown-linux-gnueabihf
RUN cargo build --features ${DB} --release --target=armv7-unknown-linux-gnueabihf -v

View file

@ -62,6 +62,8 @@ ENV OPENSSL_LIB_DIR="/usr/lib/arm-linux-gnueabihf"
COPY . .
# Build
RUN rustup self update
RUN rustup set profile minimal
RUN rustup target add armv7-unknown-linux-gnueabihf
RUN cargo build --features ${DB} --release --target=armv7-unknown-linux-gnueabihf -v