瀏覽代碼

Pin specific commits of downloaded repos

Ian Goldberg 1 年之前
父節點
當前提交
d9ffc14638
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -4,9 +4,9 @@ ARG DEBIAN_FRONTEND=noninteractive
 WORKDIR /root
 RUN apt update && apt install -y git build-essential libbsd-dev libssl-dev libboost-all-dev iproute2 iperf iputils-ping wget unzip net-tools wget ocaml libgcrypt20-dev ocaml-findlib opam m4 ocamlbuild numactl
 RUN opam init -y && opam switch 4.06.0 && eval `opam config env` && opam install -y camlp4 ocamlfind ocamlbuild batteries
-RUN git clone https://github.com/samee/obliv-c.git 
+RUN git clone https://github.com/samee/obliv-c.git && cd obliv-c && git checkout e02e5c590523ef4dae06e167a7fa00037bb3fdaf
 RUN cd obliv-c && ./configure && make
-RUN wget https://gitlab.com/neucrypt/floram/-/archive/floram-release/floram-floram-release.zip && unzip floram-floram-release.zip
+RUN git clone https://gitlab.com/neucrypt/floram floram-floram-release && cd floram-floram-release && git checkout cbc6fa1434426096dda1fa567bacba1d7fc8d5b5
 COPY bench_oram_readwrite.oc bench_oram.patch /root/
 RUN cd floram-floram-release &&  sed -i '4i\OBLIVC_PATH = ~/obliv-c' Makefile && sed -i -e '8s/$/ -D _Float128=double/' Makefile
 RUN cd floram-floram-release && sed -i -e '28s/$/ bench_oram_readwrite/' Makefile