forked from avpnusr/liquidctl-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (32 loc) · 847 Bytes
/
Dockerfile
File metadata and controls
36 lines (32 loc) · 847 Bytes
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
FROM debian:stable-slim
COPY run.sh /run.sh
ARG DEBIAN_FRONTEND=noninteractive PIP_BREAK_SYSTEM_PACKAGES=1
RUN chmod 0700 /run.sh && \
apt update && \
apt install -y --no-install-recommends \
python3 \
python3-dev \
python3-pip \
python3-setuptools \
python3-wheel \
python3-pkg-resources \
python3-hidapi \
python3-usb \
i2c-tools \
python3-smbus \
libusb-1.0-0 \
gcc \
make \
udev \
libudev-dev && \
pip3 install --no-cache-dir -U liquidctl && \
apt-get remove --purge -y \
python3-dev \
python3-pip \
gcc \
make \
libudev-dev && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache
CMD ["/run.sh"]