Howto:Building SimGear via Docker: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
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


RUN mkdir -p /BUILD/simgear && 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"
CMD "make"


</syntaxhighlight>
</syntaxhighlight>


[[Category:Dockerfiles]]
[[Category:Dockerfiles]]

Navigation menu