-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
37 lines (37 loc) · 926 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
36
37
FROM scratch
MAINTAINER Denys Vitali <[email protected]>
ADD ArchLinuxARM.tar.xz /
COPY qemu-aarch64-static /usr/bin/qemu-aarch64-static
RUN pacman -Syu --needed --noconfirm lightdm \
lightdm-gtk-greeter \
xf86-video-fbdev \
binutils \
make \
noto-fonts \
sudo \
git \
gcc \
xorg-xinit \
xorg-server \
onboard \
bluez \
bluez-tools \
bluez-utils \
openbox \
sudo \
kitty \
netctl \
wpa_supplicant \
dhcpcd \
dialog \
networkmanager
RUN systemctl enable NetworkManager
RUN systemctl enable lightdm
RUN systemctl enable bluetooth
RUN systemctl enable dhcpcd
RUN sed -i 's/#keyboard=/keyboard=onboard/' /etc/lightdm/lightdm-gtk-greeter.conf
RUN mkdir -p /etc/NetworkManager/system-connection/
COPY conf/networkmanager/connection/1.conf /etc/NetworkManager/system-connection/wifi-conn-1
COPY conf/systemd/services/btkbd.service /etc/systemd/system/btkbd.service
COPY conf/alarm/xinitrc /home/alarm/.xinitrc
RUN systemctl enable btkbd