-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
42 lines (37 loc) · 1.25 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
FROM alpine:latest
LABEL maintainer="djusha"
RUN apk update && \
apk add \
git \
alpine-sdk \
linux-headers \
libusb-dev \
libusb-compat-dev \
libtool \
automake \
autoconf \
python3 \
python3-dev \
py3-setuptools \
mariadb-dev \
gd-dev \
dbus-dev \
gettext \
gettext-dev
WORKDIR /
RUN wget https://netcologne.dl.sourceforge.net/project/serdisplib/serdisplib/2.02/serdisplib-2.02.tar.gz?viasf=1 -O serdisplib.tar.gz && \
tar -xvzf serdisplib.tar.gz && \
cd serdisplib-2.02 && \
./configure --enable-libusb && \
make && make install && cd ..
RUN ln -s /usr/bin/automake /usr/bin/automake-1.14 && \
ln -s /usr/bin/aclocal /usr/bin/aclocal-1.14 && \
git clone https://github.com/djusHa/lcd4linux.git && \
cd lcd4linux && \
libtoolize || true && \
automake --add-missing || true && \
./configure --prefix=/usr --bindir=/usr/sbin --with-drivers="all" --with-plugins='all,!seti,!isdn,!raspi,!xmms,!mpd,!dvb,!huawei,!dbus,!mpris_dbus' --with-python PYTHON_VERSION="3.12" && \
make && make install && \
cp lcd4linux.conf.sample /etc/lcd4linux.conf && \
chmod 0600 /etc/lcd4linux.conf
CMD ["lcd4linux", "-F", "-v"]