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
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"
@ -22,9 +22,9 @@ 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 mysql backend
# set postgresql backend
ARG DB=postgresql
# Don't download rust docs
@ -55,7 +55,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