Line | |
---|
1 | # ##############################################
|
---|
2 | # Dockerfile for building BNC on debian with Qt5
|
---|
3 | # ##############################################
|
---|
4 | # Usage: docker/podman build -t bnc:2.13 .
|
---|
5 | FROM debian:buster-slim
|
---|
6 |
|
---|
7 | RUN apt-get update && apt-get install -y build-essential libssl-dev
|
---|
8 | RUN apt-get install -y qtbase5-dev libqt5svg5-dev
|
---|
9 |
|
---|
10 | COPY bnc_plugin.pro bnc.pro /tmp/BNC/
|
---|
11 | COPY newmat /tmp/BNC/newmat/
|
---|
12 | COPY qwt /tmp/BNC/qwt/
|
---|
13 | COPY qwtpolar /tmp/BNC/qwtpolar/
|
---|
14 | COPY src /tmp/BNC/src/
|
---|
15 |
|
---|
16 | # Build
|
---|
17 | WORKDIR /tmp/BNC
|
---|
18 | RUN qmake -qt=5 bnc.pro && make
|
---|
19 |
|
---|
20 | # Print version
|
---|
21 | RUN echo '/tmp/BNC/bnc created'
|
---|
22 | RUN ./bnc --version
|
---|
23 | #RUN cat /etc/*release && gcc --version && qmake -qt=5 --version
|
---|
Note:
See
TracBrowser
for help on using the repository browser.