-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
35 lines (28 loc) · 903 Bytes
/
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
FROM ghcr.io/qmk/qmk_cli:latest
RUN apt-get update && apt-get install --no-install-recommends -y \
bash-completion \
cron \
curl \
jq \
less \
locales \
nano \
procps \
python3-dialog \
python3-fuzzywuzzy \
rsync \
sudo \
vim \
gnupg2 \
apt-transport-https \
&& rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install --upgrade pip setuptools wheel
RUN update-locale LANG=C.UTF-8
RUN wget -O - https://pkg.wslutiliti.es/public.key | sudo apt-key add - && \
echo "deb https://pkg.wslutiliti.es/debian buster main" | sudo tee -a /etc/apt/sources.list && \
apt-get update && apt-get install --no-install-recommends -y wslu
RUN groupadd qmk && \
useradd -m -g qmk -s /bin/bash -p $(openssl passwd -1 'qmk') qmk
COPY src /
RUN chmod -R 0755 /etc/sudoers.d && chmod -R 0440 /etc/sudoers.d/* && \
chown -R qmk:qmk /home/qmk