Skip to content
Snippets Groups Projects
Commit e6236bd6 authored by Andre Maroneze's avatar Andre Maroneze Committed by Virgile Prevosto
Browse files

[Dev] remove unecessary docker commands and update README for custom docker

parent 608fc6ea
No related branches found
No related tags found
No related merge requests found
FROM debian:sid as base FROM debian:sid as base
# Install non-OCaml dependencies + opam
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
cvc4 \ cvc4 \
opam \ opam \
......
FROM debian:sid as base FROM debian:sid as base
# Install non-OCaml dependencies + opam
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
cvc4 \ cvc4 \
opam \ opam \
...@@ -32,9 +33,6 @@ RUN apt-get update && opam update -y && opam depext --install -y --verbose \ ...@@ -32,9 +33,6 @@ RUN apt-get update && opam update -y && opam depext --install -y --verbose \
zmq.5.1.3 \ zmq.5.1.3 \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install non-OCaml solvers
RUN apt install z3 cvc4 -y
RUN why3 config --full-config RUN why3 config --full-config
# with_source: keep Frama-C sources # with_source: keep Frama-C sources
......
FROM debian:sid as base FROM debian:sid as base
# Install non-OCaml dependencies + opam
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
cvc4 \ cvc4 \
opam \ opam \
...@@ -32,9 +33,6 @@ RUN apt-get update && opam update -y && opam depext --install -y --verbose \ ...@@ -32,9 +33,6 @@ RUN apt-get update && opam update -y && opam depext --install -y --verbose \
zmq.5.1.3 \ zmq.5.1.3 \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install non-OCaml solvers
RUN apt install z3 cvc4 -y
RUN why3 config --full-config RUN why3 config --full-config
# with_source: keep Frama-C sources # with_source: keep Frama-C sources
......
FROM debian:sid as base FROM debian:sid as base
# Install non-OCaml dependencies + opam
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
cvc4 \ cvc4 \
opam \ opam \
...@@ -32,9 +33,6 @@ RUN apt-get update && opam update -y && opam depext --install -y --verbose \ ...@@ -32,9 +33,6 @@ RUN apt-get update && opam update -y && opam depext --install -y --verbose \
zmq.5.1.3 \ zmq.5.1.3 \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install non-OCaml solvers
RUN apt install z3 cvc4 -y
RUN why3 config --full-config RUN why3 config --full-config
# with_source: keep Frama-C sources # with_source: keep Frama-C sources
......
...@@ -12,7 +12,8 @@ a custom git repository, do the following: ...@@ -12,7 +12,8 @@ a custom git repository, do the following:
`frama-c`. `frama-c`.
2. If needed, add Debian and opam prerequisites to the appropriate lines in the 2. If needed, add Debian and opam prerequisites to the appropriate lines in the
Dockerfile, or change the opam version in the `ENV` lines. Dockerfile (after `apt update` and before removing the `apt` cache).
If you need to change the opam version, also edit the `ENV` lines.
3. For a "minimal" image (with installed Frama-C, but no source code), run: 3. For a "minimal" image (with installed Frama-C, but no source code), run:
......
FROM debian:sid as base FROM debian:sid as base
# Install non-OCaml dependencies + opam
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
cvc4 \ cvc4 \
opam \ opam \
...@@ -32,9 +33,6 @@ RUN apt-get update && opam update -y && opam depext --install -y --verbose \ ...@@ -32,9 +33,6 @@ RUN apt-get update && opam update -y && opam depext --install -y --verbose \
zmq.5.1.3 \ zmq.5.1.3 \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install non-OCaml solvers
RUN apt install z3 cvc4 -y
RUN why3 config --full-config RUN why3 config --full-config
# with_source: keep Frama-C sources # with_source: keep Frama-C sources
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment