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 | LABEL maintainer="igs-ip@bkg.bund.de"
|
---|
8 |
|
---|
9 | RUN apt-get update && apt-get install -y build-essential libssl-dev
|
---|
10 | RUN apt-get install -y qtbase5-dev libqt5svg5-dev
|
---|
11 |
|
---|
12 | COPY bnc_plugin.pro bnc.pro /tmp/BNC/
|
---|
13 | COPY newmat /tmp/BNC/newmat/
|
---|
14 | COPY qwt /tmp/BNC/qwt/
|
---|
15 | COPY qwtpolar /tmp/BNC/qwtpolar/
|
---|
16 | COPY src /tmp/BNC/src/
|
---|
17 |
|
---|
18 | # Build
|
---|
19 | WORKDIR /tmp/BNC
|
---|
20 | RUN qmake -qt=5 bnc.pro && make
|
---|
21 |
|
---|
22 | # Print version
|
---|
23 | RUN echo '/tmp/BNC/bnc created'
|
---|
24 | RUN ./bnc --version
|
---|
25 | #RUN cat /etc/*release && gcc --version && qmake -qt=5 --version
|
---|
Note:
See
TracBrowser
for help on using the repository browser.