source: ntrip/trunk/BNC/Dockerfile@ 9517

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

replace apt-get with apt

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