-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
43 lines (34 loc) · 1.1 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Dockerfile for the mpop_service software
FROM ubuntu:20.04
MAINTAINER Alexandre Quessy <[email protected]>
ENV TZ=America/Toronto
# Install core dependencies
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes --quiet --no-install-recommends \
build-essential \
liblo-tools \
libmysqlclient-dev \
libqt5opengl5-dev \
libqt5quickcontrols2-5 \
libqt5serialport5-dev \
libqt5sql5-mysql \
libqt5websockets5-dev \
mysql-client \
qml-module-qt-labs-platform \
qml-module-qt-labs-settings \
qml-module-qt-websockets \
qml-module-qtquick-controls2 \
qml-module-qtquick-dialogs \
qml-module-qtquick-extras \
qml-module-qtquick-localstorage \
qml-module-qttest \
qt5-default \
qtdeclarative5-dev \
qttools5-dev-tools
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY . /app
WORKDIR /app
RUN qmake . && make
# RUN ./test_mpop_service/test_mpop_service
EXPOSE 1234
CMD ["mpop_service/mpop_service"]