From 6669eb8093ea721b6fb318996731b53d115c4da5 Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Sun, 1 Dec 2019 15:25:52 -0500 Subject: [PATCH] Try pinning deps image to sha256 digest --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c4fa41be..f415edcd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,13 @@ -ARG HBMPC_DEPS_TAG="python3.7-slim-buster" +#ARG HBMPC_DEPS_TAG="python3.7-slim-buster" +ARG HBMPC_DEPS_DIGEST="4b19c08445034e1e76062f723c77c6001efd71054a956c16a11cff28daa51d1f" -FROM sbellem/honeybadgermpc-deps:$HBMPC_DEPS_TAG AS build-compute-power-sums +#FROM sbellem/honeybadgermpc-deps:$HBMPC_DEPS_TAG AS build-compute-power-sums +FROM sbellem/honeybadgermpc-deps@sha256:$HBMPC_DEPS_DIGEST 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:$HBMPC_DEPS_TAG AS pre-tests +#FROM sbellem/honeybadgermpc-deps:$HBMPC_DEPS_TAG AS pre-tests +FROM sbellem/honeybadgermpc-deps@sha256:$HBMPC_DEPS_DIGEST AS pre-tests COPY pairing /usr/src/pairing RUN pip install -v /usr/src/pairing/