From 0ea2e1cb8cfd9d40d70d02199006396538aad972 Mon Sep 17 00:00:00 2001 From: "Arsen A. Gutsal" <a.gutsal@softsky.company> Date: Fri, 12 Jul 2019 15:01:49 +0300 Subject: [PATCH] Dockerfile fixed. (#308) * Dockerfile fixed. * docker: use init.sh to setup rust env --- polkadot/{ => docker}/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename polkadot/{ => docker}/Dockerfile (84%) diff --git a/polkadot/Dockerfile b/polkadot/docker/Dockerfile similarity index 84% rename from polkadot/Dockerfile rename to polkadot/docker/Dockerfile index e07e647ce41..5ff1d5b9b1e 100644 --- a/polkadot/Dockerfile +++ b/polkadot/docker/Dockerfile @@ -9,11 +9,11 @@ COPY . /polkadot RUN apt-get update && \ apt-get upgrade -y && \ - apt-get install -y cmake pkg-config libssl-dev git - + apt-get install -y cmake pkg-config libssl-dev git clang RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \ - export PATH=$PATH:$HOME/.cargo/bin && \ - cargo build --$PROFILE + export PATH=$PATH:$HOME/.cargo/bin && \ + scripts/init.sh && \ + cargo build --$PROFILE # ===== SECOND STAGE ====== -- GitLab