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