diff --git a/alpine.dockerfile b/alpine.dockerfile index ece055e..d97070e 100644 --- a/alpine.dockerfile +++ b/alpine.dockerfile @@ -27,4 +27,6 @@ RUN sed -i '/getty/d' /etc/inittab && \ rc-update add elogind && \ rc-update add polkit +ENV XDG_CURRENT_DESKTOP=GNOME + CMD [ "/sbin/init" ] diff --git a/archlinux.dockerfile b/archlinux.dockerfile index e86b1ce..cd2a65b 100644 --- a/archlinux.dockerfile +++ b/archlinux.dockerfile @@ -20,4 +20,6 @@ RUN systemctl set-default multi-user.target && \ systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \ truncate --size 0 /etc/machine-id +ENV XDG_CURRENT_DESKTOP=GNOME + CMD [ "/sbin/init" ] diff --git a/debian.dockerfile b/debian.dockerfile index d23c547..6f91cc4 100644 --- a/debian.dockerfile +++ b/debian.dockerfile @@ -27,4 +27,6 @@ RUN systemctl set-default multi-user.target && \ systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \ truncate --size 0 /etc/machine-id +ENV XDG_CURRENT_DESKTOP=GNOME + CMD [ "/sbin/init" ] diff --git a/fedora.dockerfile b/fedora.dockerfile index cea59ae..53fa78c 100644 --- a/fedora.dockerfile +++ b/fedora.dockerfile @@ -28,4 +28,6 @@ RUN systemctl set-default multi-user.target && \ chmod u+rw /etc/shadow && \ truncate --size 0 /etc/machine-id +ENV XDG_CURRENT_DESKTOP=GNOME + CMD [ "/sbin/init" ] diff --git a/suse.dockerfile b/suse.dockerfile index c715f1c..4a950e5 100644 --- a/suse.dockerfile +++ b/suse.dockerfile @@ -29,4 +29,6 @@ RUN systemctl set-default multi-user.target && \ systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \ truncate --size 0 /etc/machine-id +ENV XDG_CURRENT_DESKTOP=GNOME + CMD [ "/sbin/init" ]