Fix docker builds #3731 (#3767)

This commit is contained in:
Micheal Waltz
2019-10-05 11:04:22 +00:00
committed by Gavin Wood
parent b181951bcc
commit 954e980ae3
+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 && \