source: ntrip/trunk/BNC/Dockerfile@ 9574

Last change on this file since 9574 was 9469, checked in by wiese, 3 years ago

replace apt-get with apt

File size: 758 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
[9469]6#FROM ubuntu:20.10
[9110]7
[9121]8LABEL maintainer="igs-ip@bkg.bund.de"
[9122]9LABEL version="2.13"
[9121]10
[9469]11RUN apt update && apt upgrade -y
12RUN apt install -y build-essential libssl-dev
13RUN apt install -y qtbase5-dev libqt5svg5-dev
[9110]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.