Rev | Line | |
---|
[10281] | 1 | # Usage: cd .. && docker/podman build -t bookworm/bnc:v2.13.0 -f docker/Dockerfile.bookworm .
|
---|
| 2 |
|
---|
| 3 | FROM debian:bookworm-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 | WORKDIR /tmp/BNC
|
---|
| 22 | RUN qmake -qt=5 bnc.pro && make
|
---|
| 23 |
|
---|
| 24 | RUN echo '/tmp/BNC/bnc created'
|
---|
[10282] | 25 | RUN ./bnc --version
|
---|
[10281] | 26 | RUN cat /etc/*release && gcc --version && qmake -qt=5 --version
|
---|
Note:
See
TracBrowser
for help on using the repository browser.