mirror of
https://git.myvelabs.com/novnc/archlinux.git
synced 2025-12-17 21:36: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' \
|
||||
'Defaults lecture = never' >/etc/sudoers.d/zz-DOCKER \
|
||||
&& 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 \
|
||||
&& curl --fail -s -L https://raw.githubusercontent.com/i3/i3/next/etc/config | sed 's/exec i3-config-wizard/# &/' >/tmp/i3config
|
||||
&& install -d -o user -g users /home/user/.config/{menus,i3} \
|
||||
&& 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
|
||||
USER ${debug:-user}
|
||||
|
|
|
|||
|
|
@ -60,11 +60,7 @@ depth=32
|
|||
${_MYVNC_VNCSHARING}
|
||||
vncconfig
|
||||
|
||||
# i3 config
|
||||
cat /tmp/i3config >~/.config/i3/config
|
||||
|
||||
# Dolphin default apps fix
|
||||
cat /tmp/dolphinmenu >~/.config/menus/applications.menu
|
||||
kbuildsycoca6
|
||||
|
||||
# i3 status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue