Skip to content

Commit

Permalink
Try pinning deps image to sha256 digest
Browse files Browse the repository at this point in the history
  • Loading branch information
sbellem committed Dec 1, 2019
1 parent a8938d5 commit 6669eb8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand Down

0 comments on commit 6669eb8

Please sign in to comment.