Skip to content

Commit

Permalink
Make the deployment Dockerfile resistant against changes in the base …
Browse files Browse the repository at this point in the history
…images (#151)
  • Loading branch information
kit-ty-kate authored Jan 30, 2022
1 parent 0a2e796 commit 6b9f71f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.web
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down

0 comments on commit 6b9f71f

Please sign in to comment.