forked from mgeitz/eqalert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
56 lines (47 loc) · 1.39 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
FROM python:3.11-slim-bookworm
LABEL maintainer="mgeitz" \
description="A Configurable and Context Driven Project 1999 Log Parser with NCurses Interface for Linux"
RUN groupadd -g 1000 eqalert && \
useradd -r -u 1000 -g eqalert eqalert && \
usermod -a -G audio eqalert
WORKDIR /usr/src/eqalert
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
gcc \
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 \
libcairo2-dev \
libpulse0 \
libsndfile1-dev \
libgirepository1.0-dev \
libgstreamer1.0-0 \
libgstreamer1.0-dev \
libgstreamer-plugins-bad1.0-dev \
libgstreamer-plugins-base1.0-dev \
pkg-config \
pulseaudio \
python3-dev \
python3-pip && \
apt-get clean && \
python3 -m pip install --upgrade pip
RUN python3 -m pip install pycairo && \
python3 -m pip install pygobject
COPY . .
RUN python3 -m pip install -e .
USER eqalert
CMD eqalert