You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Install frama-C, without the plugins to make the compilation faster.
47
47
# We also remove the plugins so that the frama_c_codex.exe binary will not try loading them.
48
-
RUN tar xzf frama-c-26.1-Iron.tar.gz \
48
+
RUN tar xzf frama-c-27.1-Cobalt.tar.gz \
49
49
&& cd frama-c* \
50
50
&& patch -Np1 -i ../patch-frama-c.patch \
51
51
&& rm -R src/plugins \
52
52
&& eval $(opam env) && make && make install \
53
53
&& cd .. && rm -Rf frama-c*
54
54
# Install more odvtk dependencies
55
-
RUN sudo apt install libev-dev libssl-dev -y
55
+
RUN sudo apt-get install libev-dev libssl-dev -y
56
56
RUN opam install dream
57
57
# Now install codex.
58
58
RUN opam clean -a -c -s --logs && \
59
59
rm -Rf opam-repository/.git && \
60
60
rm -Rf opam-repository && \
61
61
rm -Rf .opam/repo
62
-
COPY --chown=opam:opam . /home/opam/libase
63
-
RUN cd libase && eval $(opam env) && dune build binsec/binsec_codex.exe && cd frama-c && make build
62
+
COPY --chown=opam:opam . /home/opam/codex
63
+
RUN cd codex && eval $(opam env) && dune build
64
64
# Optional: this further slims down the new image, which becomes kind of binary-only.
65
65
# Works and allows a substantial gain in space, but currently the script for binsec call dune exec binsec_codex.exe, which tries to rebuild the binary and remove it.
66
66
# RUN cd .opam && \
@@ -79,8 +79,6 @@ RUN cd libase && eval $(opam env) && dune build binsec/binsec_codex.exe && cd fr
79
79
## COPY --from=first /home/opam /home/opam
80
80
##
81
81
## EXPOSE 8080
82
-
# For an even slimmer version, we could just keep the binsec_codex.exe and frama_c_codex.exe executables.
83
-
# This does not work for frama_c_codex.exe; maybe use appimage for that.
Note: there is a bug in Frama-C >= 28.0 that breaks some of the testsg, so stick to 27.1 if this matters to you (e.g. if you develop new Codex features).
0 commit comments