Update rust build to 1.56.1 and alpine rust version to 1.51.0

This commit is contained in:
ViViDboarder 2021-11-29 10:06:55 -08:00
parent db03a5299f
commit 85511d8dc9
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
ARG BUILD_TAG=1.46
ARG BUILD_TAG=1.56.1
ARG RUN_TAG=$BUILD_TAG
FROM rust:$BUILD_TAG as builder

View File

@ -1,4 +1,4 @@
FROM ekidd/rust-musl-builder:1.46.0 AS builder
FROM ekidd/rust-musl-builder:1.51.0 AS builder
WORKDIR /home/rust/src
@ -14,7 +14,7 @@ RUN USER=rust touch ./src/main.rs
RUN cargo build --release
FROM alpine:3
RUN apk --no-cache add ca-certificates=20191127-r5
RUN apk --no-cache add ca-certificates=20191127-r7
COPY --from=builder \
/home/rust/src/target/x86_64-unknown-linux-musl/release/vaultwarden_ldap \
/usr/local/bin/