source: ntrip/trunk/BNC/docker/Dockerfile.centos7

Last change on this file was 10395, checked in by wiese, 6 weeks ago

add: build dockerfile for centos7

File size: 525 bytes
Line 
1FROM centos:7
2
3RUN yum -y update
4RUN yum -y install gcc-c++ make libpng-devel openssl-devel unzip
5RUN yum -y install \
6 qt5-qtbase-devel \
7 qt5-qtsvg-devel \
8 qt5-qtwebkit-devel \
9 qt5-qtwebengine-devel
10
11COPY bnc_plugin.pro bnc.pro /tmp/BNC/
12COPY newmat /tmp/BNC/newmat/
13COPY qwt /tmp/BNC/qwt/
14COPY qwtpolar /tmp/BNC/qwtpolar/
15COPY src /tmp/BNC/src/
16
17WORKDIR /tmp/BNC
18RUN qmake-qt5 bnc.pro && make
19
20RUN echo '/tmp/BNC/bnc created'
21RUN ./bnc --version
22RUN cat /etc/*release && gcc --version && qmake-qt5 --version
Note: See TracBrowser for help on using the repository browser.