Fix docker builds #3731 (#3767)

This commit is contained in:
Micheal Waltz authored and Gavin Wood committed 2019-10-05 13:04:22 +02:00
1 parent b181951bcc
commit 954e980ae3
1 file changed
+3 -1
+3 -1
View File
@@ -5,13 +5,15 @@ FROM phusion/baseimage:0.10.2 as builder
LABEL maintainer="chevdor@gmail.com"
LABEL description="This is the build stage for Substrate. Here we create the binary."
ENV DEBIAN_FRONTEND=noninteractive
ARG PROFILE=release
WORKDIR /substrate
COPY . /substrate
RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold" && \
apt-get install -y cmake pkg-config libssl-dev git clang
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \