source: ntrip/trunk/BNC/Dockerfile@ 9110

Last change on this file since 9110 was 9110, checked in by wiese, 4 years ago

ADD: BNC build Dockerfile

File size: 672 bytes
RevLine 
[9110]1# ##############################################
2# Dockerfile for building BNC on debian with Qt5
3# ##############################################
4# Usage: docker/podman build -t bnc:2.13 .
5FROM debian:buster-slim
6
7RUN apt-get update && apt-get install -y build-essential libssl-dev
8RUN apt-get install -y qtbase5-dev libqt5svg5-dev
9
10COPY bnc_plugin.pro bnc.pro /tmp/BNC/
11COPY newmat /tmp/BNC/newmat/
12COPY qwt /tmp/BNC/qwt/
13COPY qwtpolar /tmp/BNC/qwtpolar/
14COPY src /tmp/BNC/src/
15
16# Build
17WORKDIR /tmp/BNC
18RUN qmake -qt=5 bnc.pro && make
19
20# Print version
21RUN echo '/tmp/BNC/bnc created'
22RUN ./bnc --version
23#RUN cat /etc/*release && gcc --version && qmake -qt=5 --version
Note: See TracBrowser for help on using the repository browser.