diff --git a/Dockerfile b/Dockerfile index 2bd6ca4..7b2b864 100644 --- a/Dockerfile +++ b/Dockerfile @@ -76,8 +76,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ xfdesktop4 \ xfce4-settings \ xfce4-terminal \ + xfconf \ thunar \ plank \ + e2fsprogs \ autocutsel \ greybird-gtk-theme \ elementary-xfce-icon-theme \ diff --git a/desktop/xfce/xfconf/xfce-perchannel-xml/xfce4-session.xml b/desktop/xfce/xfconf/xfce-perchannel-xml/xfce4-session.xml index 0bfd96b..76c68ee 100644 --- a/desktop/xfce/xfconf/xfce-perchannel-xml/xfce4-session.xml +++ b/desktop/xfce/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -3,5 +3,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/microagent-init.sh b/microagent-init.sh index 7e8263c..7651a0b 100644 --- a/microagent-init.sh +++ b/microagent-init.sh @@ -100,6 +100,8 @@ mountpoint -q /run || mount -t tmpfs tmpfs /run mkdir -p /tmp /var/tmp /run/sshd /var/log chmod 1777 /tmp /var/tmp +resize2fs /dev/vda >/dev/null 2>&1 || true + cleanup() { trap - INT TERM [ -n "${rng_pid:-}" ] && kill "$rng_pid" >/dev/null 2>&1 || true