Line | |
---|
1 | # Usage: cd .. && docker/podman build -t buster/bnc:v2.13.0 -f docker/Dockerfile.buster .
|
---|
2 |
|
---|
3 | FROM debian:buster-slim
|
---|
4 |
|
---|
5 | RUN apt update && apt upgrade -y
|
---|
6 | RUN apt install -y build-essential libssl-dev
|
---|
7 | RUN apt install -y \
|
---|
8 | qtbase5-dev \
|
---|
9 | libqt5concurrent5 \
|
---|
10 | libqt5network5 \
|
---|
11 | libqt5printsupport5 \
|
---|
12 | libqt5svg5-dev \
|
---|
13 | libqt5opengl5
|
---|
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.