mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
Update dockerfile with rust 1.45 and Debian Buster (#3426)
This commit is contained in:
parent
110deff702
commit
d1b90f89a0
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Multistage docker build, requires docker 17.05
|
# Multistage docker build, requires docker 17.05
|
||||||
|
|
||||||
# builder stage
|
# builder stage
|
||||||
FROM rust:1.35 as builder
|
FROM rust:1.45 as builder
|
||||||
|
|
||||||
RUN set -ex && \
|
RUN set -ex && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
|
@ -23,7 +23,7 @@ COPY . .
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
# runtime stage
|
# runtime stage
|
||||||
FROM debian:9.4
|
FROM debian:10
|
||||||
|
|
||||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales openssl
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales openssl
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Multistage docker build, requires docker 17.05
|
# Multistage docker build, requires docker 17.05
|
||||||
|
|
||||||
# builder stage
|
# builder stage
|
||||||
FROM rust:1.35 as builder
|
FROM rust:1.45 as builder
|
||||||
|
|
||||||
RUN set -ex && \
|
RUN set -ex && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
|
@ -23,7 +23,7 @@ COPY . .
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
# runtime stage
|
# runtime stage
|
||||||
FROM debian:9.4
|
FROM debian:10
|
||||||
|
|
||||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales openssl
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales openssl
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue