Howto:Building SimGear via Docker: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 17: Line 17:
RUN cmake . /SOURCES/simgear -DSIMGEAR_HEADLESS=ON -DENABLE_SOUND=OFF -DUSE_AEONWAVE=OFF -DENABLE_PKGUTIL=OFF
RUN cmake . /SOURCES/simgear -DSIMGEAR_HEADLESS=ON -DENABLE_SOUND=OFF -DUSE_AEONWAVE=OFF -DENABLE_PKGUTIL=OFF


CMD cd /BUILD/simgear && make all test
CMD cd /BUILD/simgear && make -j all test





Revision as of 20:51, 27 February 2020

This article is a stub. You can help the wiki by expanding it.
Note  This builds SimGear in headless mode (aka no graphics), which is primarily useful for unit testing purposes.
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 /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 -j all test