1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-25 21:13:57 +00:00

Update docker images to alpine 3.11 and rust 1.40

This commit is contained in:
Daniel García 2019-12-22 21:42:13 +01:00
parent 2545469713
commit 4cec502f7b
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
15 changed files with 65 additions and 65 deletions

View file

@ -2,7 +2,7 @@
# https://docs.docker.com/develop/develop-images/multistage-build/
# https://whitfin.io/speeding-up-rust-docker-builds/
####################### VAULT BUILD IMAGE #######################
FROM alpine:3.10 as vault
FROM alpine:3.11 as vault
ENV VAULT_VERSION "v2.12.0b"
@ -23,7 +23,7 @@ RUN ls
########################## BUILD IMAGE ##########################
# We need to use the Rust build image, because
# we need the Rust compiler and Cargo tooling
FROM rust:1.39 as build
FROM rust:1.40 as build
# set sqlite as default for DB ARG for backward comaptibility
ARG DB=sqlite

View file

@ -2,7 +2,7 @@
# https://docs.docker.com/develop/develop-images/multistage-build/
# https://whitfin.io/speeding-up-rust-docker-builds/
####################### VAULT BUILD IMAGE #######################
FROM alpine:3.10 as vault
FROM alpine:3.11 as vault
ENV VAULT_VERSION "v2.12.0b"
@ -22,7 +22,7 @@ RUN ls
########################## BUILD IMAGE ##########################
# Musl build image for statically compiled binary
FROM clux/muslrust:nightly-2019-11-23 as build
FROM clux/muslrust:nightly-2019-12-19 as build
# set sqlite as default for DB ARG for backward comaptibility
ARG DB=sqlite
@ -49,7 +49,7 @@ RUN cargo build --features ${DB} --release
######################## RUNTIME IMAGE ########################
# Create a new stage with a minimal image
# because we already have a binary built
FROM alpine:3.10
FROM alpine:3.11
ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80