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