Update dockerfile with rust 1.45 and Debian Buster (#3426)

This commit is contained in:
Quentin Le Sceller 2020-08-17 12:11:27 -04:00 committed by GitHub
parent 110deff702
commit d1b90f89a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Multistage docker build, requires docker 17.05
# builder stage
FROM rust:1.35 as builder
FROM rust:1.45 as builder
RUN set -ex && \
apt-get update && \
@ -23,7 +23,7 @@ COPY . .
RUN cargo build --release
# runtime stage
FROM debian:9.4
FROM debian:10
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales openssl

View file

@ -1,7 +1,7 @@
# Multistage docker build, requires docker 17.05
# builder stage
FROM rust:1.35 as builder
FROM rust:1.45 as builder
RUN set -ex && \
apt-get update && \
@ -23,7 +23,7 @@ COPY . .
RUN cargo build --release
# runtime stage
FROM debian:9.4
FROM debian:10
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales openssl