-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile
69 lines (57 loc) · 1.69 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
FROM debian:bookworm
LABEL maintainer="mgeitz" \
description="A Configurable and Context Driven Project 1999 Log Parser with NCurses Interface for Linux"
WORKDIR /usr/src/eqalert
RUN groupadd -g 1000 eqalert \
&& useradd -r -u 1000 -g eqalert eqalert \
&& usermod -a -G audio eqalert
RUN mkdir -p /home/eqalert \
&& chown eqalert:eqalert /home/eqalert
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
espeak-ng \
gcc \
g++ \
gir1.2-gtk-3.0 \
gstreamer1.0-alsa \
gstreamer1.0-dev \
gstreamer1.0-gl \
gstreamer1.0-gtk3 \
gstreamer1.0-libav \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly \
gstreamer1.0-pulseaudio \
gstreamer1.0-qt5 \
gstreamer1.0-tools \
gstreamer1.0-x \
libasound2 \
libasound2-plugins \
libpulse0 \
libsndfile1-dev \
libgirepository1.0-dev \
libgstreamer1.0-0 \
libgstreamer1.0-dev \
libgstreamer-plugins-bad1.0-dev \
libgstreamer-plugins-base1.0-dev \
make \
pkg-config \
pulseaudio \
python3 \
python3-dev \
python3-pip \
python3-venv \
python3-wheel \
python3-cairo \
python3-gi \
&& apt-get clean
USER eqalert
RUN pip install --upgrade pip --break-system-packages \
&& pip install --upgrade wheel --break-system-packages \
&& pip install playsound --break-system-packages
ENV PATH "$PATH:/home/eqalert/.local/bin"
COPY . .
RUN python3 -m pip install -e . --break-system-packages
CMD eqalert