Howto:Building SimGear via Docker: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (add screen shot) |
||
Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
[[File:Simgear-tests-via-docker.png|thumb|Screen shot showing a Linux terminal with docker running a simgear build and its test suite (03/2020)]] | |||
{{Note|This builds SimGear in [[FlightGear Headless|headless mode]] (aka no graphics), which is primarily useful for [[Cppunit effort|unit testing]] purposes. In its current form, the final image will be approximately 300 mb}} | {{Note|This builds SimGear in [[FlightGear Headless|headless mode]] (aka no graphics), which is primarily useful for [[Cppunit effort|unit testing]] purposes. In its current form, the final image will be approximately 300 mb}} |
Revision as of 14:26, 3 March 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. In its current form, the final image will be approximately 300 mb |
FROM debian:buster-slim
Maintainer http://wiki.flightgear.org/Howto:Building_SimGear_via_Docker
RUN apt-get update && apt-get install -y cmake git g++ libboost-dev libz-dev libcurl4-openssl-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