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