Skip to content
Snippets Groups Projects
Commit 1c5ee00d authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[Dev] update README.md for Frama-C Docker images

parent b410a4db
No related branches found
No related tags found
No related merge requests found
...@@ -14,8 +14,8 @@ Frama-C versions. For each version, there are three images: one ...@@ -14,8 +14,8 @@ Frama-C versions. For each version, there are three images: one
for the command-line version `frama-c`; a stripped-down version of the former, for the command-line version `frama-c`; a stripped-down version of the former,
for a slimmer image, but which does not allow recompilation of Frama-C for a slimmer image, but which does not allow recompilation of Frama-C
or of any external plugin; and a third image including the graphical or of any external plugin; and a third image including the graphical
interface (`frama-c-gui`), to be used with Singularity or other tools enabling interface (`frama-c-gui`), to be used with Singularity, x11docker, or any other
graphical interfaces from within a Docker image. tool which enables running a graphical application from a Docker image.
Run `make` to get a list of targets. Run `make` to get a list of targets.
...@@ -29,6 +29,14 @@ Some commands in this section are those used by the above Makefile; ...@@ -29,6 +29,14 @@ Some commands in this section are those used by the above Makefile;
others allow creating different images (e.g. with the Frama-C sources) others allow creating different images (e.g. with the Frama-C sources)
which are not directly available as Makefile targets. which are not directly available as Makefile targets.
Note: a Dockerfile is needed for the commands below.
For most versions, running `make Dockerfile.dev` and then using it
(adding `-f Dockerfile.dev` to the commands below) is enough.
However, if specific build commands or dependencies are needed,
you can copy the generated Dockerfile
(e.g. `cp Dockerfile.dev Dockerfile`) and adapt it as needed,
before running one of the commands below.
- Build slim development image (from public Git master branch): - Build slim development image (from public Git master branch):
docker build . -t framac/frama-c:dev --target frama-c-slim docker build . -t framac/frama-c:dev --target frama-c-slim
......
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