mirror of
https://git.myvelabs.com/novnc/archlinux.git
synced 2025-12-17 21:26:20 +00:00
Move downloads from entrypoint to Dockerfile
This commit is contained in:
parent
a3b1dd60a7
commit
0fc09dd471
2 changed files with 8 additions and 3 deletions
|
|
@ -32,7 +32,9 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
|||
&& useradd --create-home --gid users --shell /usr/bin/bash user \
|
||||
&& 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
|
||||
&& 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
|
||||
|
||||
# Default environment
|
||||
USER ${debug:-user}
|
||||
|
|
|
|||
|
|
@ -61,8 +61,11 @@ ${_MYVNC_VNCSHARING}
|
|||
vncconfig
|
||||
|
||||
# i3 config
|
||||
mkdir -p ~/.config/i3
|
||||
curl --fail -s -L https://raw.githubusercontent.com/i3/i3/next/etc/config | sed 's/exec i3-config-wizard/# &/' > ~/.config/i3/config
|
||||
cat /tmp/i3config >~/.config/i3/config
|
||||
|
||||
# Dolphin default apps fix
|
||||
cat /tmp/dolphinmenu >~/.config/menus/applications.menu
|
||||
kbuildsycoca6
|
||||
|
||||
# i3 status
|
||||
cat >~/.i3status.conf <<- 'i3status'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue