Skip to content

Commit

Permalink
Merge pull request #37 from kdridi/master
Browse files Browse the repository at this point in the history
Configure docker build system
  • Loading branch information
AllanBlanchard authored Jul 28, 2021
2 parents bf70b93 + 0994981 commit f4c1be5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM ubuntu:20.04

RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
make \
texlive-latex-base \
texlive-latex-recommended \
texlive-latex-extra \
texlive-plain-generic \
texlive-fonts-extra \
texlive-lang-french \
texlive-luatex \
python3-pygments \
librsvg2-bin && \
apt-get clean autoclean && \
apt-get autoremove -y && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ It can be used for both learning and teaching, I hope you will have some fun wit
The last version is available on my website in [English](https://allan-blanchard.fr/publis/frama-c-wp-tutorial-en.pdf) and in [French](https://allan-blanchard.fr/publis/frama-c-wp-tutoriel-fr.pdf).

An online French version is available [on Zeste de Savoir](https://zestedesavoir.com/contenus/beta/885/introduction-a-la-preuve-de-programmes-c-avec-frama-c-et-son-greffon-wp/).

## Building

In order to build the files, you can use docker
```sh
docker build -t tutoriel_wp .
docker run --rm -v $PWD:/mnt -w /mnt tutoriel_wp make
```

0 comments on commit f4c1be5

Please sign in to comment.