Howto:Building SimGear via Docker

From FlightGear wiki
Jump to navigation Jump to search
This article is a stub. You can help the wiki by expanding it.
Screen shot showing a Linux terminal with docker running a simgear build and its test suite (03/2020)
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
RUN apt-get update  && apt-get install -y cmake git g++ libboost-dev libz-dev libcurl4-openssl-dev

RUN mkdir -p /SOURCES 
RUN git clone git:// /SOURCES/simgear

RUN mkdir -p /BUILD/simgear 

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