1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
FROM ubuntu:bionic
RUN apt-get -qq update && apt-get -qqy dist-upgrade
RUN apt-get -qqy install \
cdbs dpkg-dev debhelper cmake curl dcraw fakeroot wget git ssh \
libcurl4-gnutls-dev libboost-dev libboost-regex-dev libcfitsio-dev \
libftdi-dev libdc1394-22-dev libgphoto2-dev libgps-dev libgsl-dev libjpeg-dev libtiff-dev \
libnova-dev libopenal-dev libraw-dev libusb-1.0-0-dev librtlsdr-dev \
libfftw3-dev zlib1g-dev libconfuse-dev python3-all-dev doxygen \
libboost-test-dev python-all-dev swig g++ libftdi1-dev \
libdc1394-22-dev googletest clang-5.0 lsb-release dirmngr vim \
libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev
RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-5.0 100
RUN update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-5.0 100
# Build and install gtest and gmock libraries
WORKDIR /usr/src/googletest
RUN cmake .
RUN make install
WORKDIR /home
ADD https://raw.githubusercontent.com/jochym/indi/master/docker/run-build.sh /home/
RUN chmod a+x /home/run-build.sh
|