forked from facontidavide/PlotJuggler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
17 lines (13 loc) · 620 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM ubuntu:22.04 as builder
RUN apt-get update && \
apt-get -y install cmake build-essential wget file qtbase5-dev libqt5svg5-dev libqt5websockets5-dev libqt5opengl5-dev libqt5x11extras5-dev libprotoc-dev libzmq3-dev liblz4-dev libzstd-dev libmosquittopp-dev
RUN mkdir -p /opt/plotjuggler
COPY . /opt/plotjuggler
RUN mkdir /opt/plotjuggler/build
WORKDIR /opt/plotjuggler/build
RUN cmake .. -DCMAKE_INSTALL_PREFIX=/usr
RUN make -j `nproc`
RUN make install DESTDIR=AppDir
RUN /opt/plotjuggler/appimage/AppImage.sh
FROM scratch as exporter
COPY --from=builder /opt/plotjuggler/build/PlotJuggler-x86_64.AppImage /