mirror of
https://git.myvelabs.com/novnc/archlinux.git
synced 2025-12-17 21:26:20 +00:00
Shuffle initial config curls between Dockerfile and entrypoint
This commit is contained in:
parent
bef9e5fe16
commit
8c176b5d5a
2 changed files with 3 additions and 6 deletions
|
|
@ -33,8 +33,9 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
||||||
&& printf '%s\n' 'user ALL=(ALL:ALL) NOPASSWD: /usr/bin/pacman' \
|
&& printf '%s\n' 'user ALL=(ALL:ALL) NOPASSWD: /usr/bin/pacman' \
|
||||||
'Defaults lecture = never' >/etc/sudoers.d/zz-DOCKER \
|
'Defaults lecture = never' >/etc/sudoers.d/zz-DOCKER \
|
||||||
&& passwd -l root >/dev/null 2>&1 \
|
&& passwd -l root >/dev/null 2>&1 \
|
||||||
&& curl --fail -s -L https://raw.githubusercontent.com/KDE/plasma-workspace/master/menu/desktop/plasma-applications.menu -o /tmp/dolphinmenu \
|
&& install -d -o user -g users /home/user/.config/{menus,i3} \
|
||||||
&& curl --fail -s -L https://raw.githubusercontent.com/i3/i3/next/etc/config | sed 's/exec i3-config-wizard/# &/' >/tmp/i3config
|
&& curl --fail -s -L https://raw.githubusercontent.com/KDE/plasma-workspace/master/menu/desktop/plasma-applications.menu -o /home/user/.config/menus/applications.menu \
|
||||||
|
&& curl --fail -s -L https://raw.githubusercontent.com/i3/i3/next/etc/config | sed 's/exec i3-config-wizard/# &/' >/home/user/.config/i3/config
|
||||||
|
|
||||||
# Default environment
|
# Default environment
|
||||||
USER ${debug:-user}
|
USER ${debug:-user}
|
||||||
|
|
|
||||||
|
|
@ -60,11 +60,7 @@ depth=32
|
||||||
${_MYVNC_VNCSHARING}
|
${_MYVNC_VNCSHARING}
|
||||||
vncconfig
|
vncconfig
|
||||||
|
|
||||||
# i3 config
|
|
||||||
cat /tmp/i3config >~/.config/i3/config
|
|
||||||
|
|
||||||
# Dolphin default apps fix
|
# Dolphin default apps fix
|
||||||
cat /tmp/dolphinmenu >~/.config/menus/applications.menu
|
|
||||||
kbuildsycoca6
|
kbuildsycoca6
|
||||||
|
|
||||||
# i3 status
|
# i3 status
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue