20,741
edits
mNo edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
RUN apt-get update && apt-get install -y cmake git libboost-dev | RUN apt-get update && apt-get install -y cmake git libboost-dev | ||
RUN mkdir -p /SOURCES | |||
RUN mkdir -p /SOURCES | |||
WORKDIR /SOURCES | WORKDIR /SOURCES | ||
RUN git clone git://git.code.sf.net/p/flightgear/simgear simgear | RUN git clone git://git.code.sf.net/p/flightgear/simgear /SOURCES/simgear | ||
RUN mkdir -p /BUILD/simgear | |||
WORKDIR /BUILD/simgear | |||
RUN cmake . /SOURCES/simgear -DSIMGEAR_HEADLESS=ON -DENABLE_SOUND=OFF -DUSE_AEONWAVE=OFF -DENABLE_PKGUTIL=OFF | |||
CMD cd /BUILD/simgear && make all test | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Dockerfiles]] | [[Category:Dockerfiles]] |