1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-15 16:13:55 +00:00

Update dependencies and docker base images

This commit is contained in:
Daniel García 2019-10-24 20:37:17 +02:00
parent 77d40833d9
commit 57b1d3f850
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
14 changed files with 139 additions and 168 deletions

View file

@ -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.36 as build
FROM rust:1.38 as build
# set mysql backend
ARG DB=mysql
@ -69,7 +69,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 debian:stretch-slim
FROM debian:buster-slim
ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80

View file

@ -22,7 +22,7 @@ RUN ls
########################## BUILD IMAGE ##########################
# Musl build image for statically compiled binary
FROM clux/muslrust:nightly-2019-07-08 as build
FROM clux/muslrust:nightly-2019-10-19 as build
# set mysql backend
ARG DB=mysql

View file

@ -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.36 as build
FROM rust:1.38 as build
# set mysql backend
ARG DB=postgresql
@ -69,7 +69,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 debian:stretch-slim
FROM debian:buster-slim
ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80

View file

@ -22,7 +22,7 @@ RUN ls
########################## BUILD IMAGE ##########################
# Musl build image for statically compiled binary
FROM clux/muslrust:nightly-2019-07-08 as build
FROM clux/muslrust:nightly-2019-10-19 as build
# set mysql backend
ARG DB=postgresql

View file

@ -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.36 as build
FROM rust:1.38 as build
# set sqlite as default for DB ARG for backward comaptibility
ARG DB=sqlite
@ -69,7 +69,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 debian:stretch-slim
FROM debian:buster-slim
ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80

View file

@ -22,7 +22,7 @@ RUN ls
########################## BUILD IMAGE ##########################
# Musl build image for statically compiled binary
FROM clux/muslrust:nightly-2019-07-08 as build
FROM clux/muslrust:nightly-2019-10-19 as build
# set sqlite as default for DB ARG for backward comaptibility
ARG DB=sqlite