From 6b9f71f3d1f511dc921476d25bab1856815db317 Mon Sep 17 00:00:00 2001 From: Kate Date: Sun, 30 Jan 2022 18:04:15 +0000 Subject: [PATCH] Make the deployment Dockerfile resistant against changes in the base images (#151) --- Dockerfile | 2 +- Dockerfile.web | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c34fb11..cf1697e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ocaml/opam:debian-11-ocaml-4.12 AS build +FROM ocaml/opam:debian-11-ocaml-4.12@sha256:5db4b47a7066e39e473981d23ea24b4306eb59c688a89fe20046f9845eb7b1bd AS build RUN sudo apt-get update && sudo apt-get install libev-dev capnproto graphviz m4 pkg-config libsqlite3-dev libgmp-dev libffi-dev -y --no-install-recommends RUN cd ~/opam-repository && git pull origin master && git reset --hard 81d2d054a0c2686544e2a651a8154a584dba8403 && opam update COPY --chown=opam \ diff --git a/Dockerfile.web b/Dockerfile.web index 4edbc637..391daec6 100644 --- a/Dockerfile.web +++ b/Dockerfile.web @@ -1,4 +1,4 @@ -FROM ocaml/opam:debian-11-ocaml-4.12 AS build +FROM ocaml/opam:debian-11-ocaml-4.12@sha256:5db4b47a7066e39e473981d23ea24b4306eb59c688a89fe20046f9845eb7b1bd AS build RUN sudo apt-get update && sudo apt-get install libev-dev capnproto m4 pkg-config libgmp-dev libffi-dev -y --no-install-recommends RUN cd ~/opam-repository && git pull origin master && git reset --hard 81d2d054a0c2686544e2a651a8154a584dba8403 && opam update COPY --chown=opam \