20,741
edits
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
<syntaxhighlight lang="docker"> | <syntaxhighlight lang="docker"> | ||
FROM | FROM gcc | ||
Maintainer http://wiki.flightgear.org/Howto:Building_SimGear_via_Docker | |||
RUN apt-get update && apt-get install -y cmake git libboost-dev | |||
RUN mkdir -p /SOURCES | |||
WORKDIR /SOURCES | |||
RUN git clone git://git.code.sf.net/p/flightgear/simgear simgear | |||
RUN mkdir -p /BUILD/simgear && cmake /SOURCES/simgear -DSIMGEAR_HEADLESS=ON -DENABLE_SOUND=OFF -DUSE_AEONWAVE=OFF -DENABLE_PKGUTIL=OFF | |||
CMD "cd /BUILD/simgear" | |||
CMD "make test -j" | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Dockerfiles]] | [[Category:Dockerfiles]] |