From a8938d5f8622d7883a72a3ffe3a1f80204a577d6 Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Sat, 30 Nov 2019 11:06:46 -0500 Subject: [PATCH] Use precise version for hbmpc-deps image --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 80066ac1..c4fa41be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ -FROM sbellem/honeybadgermpc-deps AS build-compute-power-sums +ARG HBMPC_DEPS_TAG="python3.7-slim-buster" + +FROM sbellem/honeybadgermpc-deps:$HBMPC_DEPS_TAG AS build-compute-power-sums COPY apps/asynchromix/cpp/ /usr/src/apps/asynchromix/cpp/ RUN make -C /usr/src/apps/asynchromix/cpp -FROM sbellem/honeybadgermpc-deps AS pre-tests +FROM sbellem/honeybadgermpc-deps:$HBMPC_DEPS_TAG AS pre-tests COPY pairing /usr/src/pairing RUN pip install -v /usr/src/pairing/ @@ -27,6 +29,7 @@ FROM tests as pre-dev WORKDIR / # Install solidity +# TODO look at https://github.com/ethereum/solidity/blob/e383b2bbbaeae33bd44d1e3b641ca922cf030c8d/.circleci/docker/Dockerfile.ubuntu1904 RUN git clone --recursive https://github.com/ethereum/solidity.git WORKDIR /solidity/ RUN git checkout v0.4.24 # Old version necessary to work???