FROM fedora:20 MAINTAINER Alexander Larsson EXPOSE 8080 ADD broadway.repo /etc/yum.repos.d/ RUN yum install -y freetype fontconfig pixman libpng exempi libjpeg-turbo libthai abattis-cantarell-fonts hicolor-icon-theme libexif libtiff harfbuzz desktop-file-utils enchant mozjs24 liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts avahi-glib libsecret gnutls libproxy libcroco && yum clean all RUN yum -y --disablerepo=* --enablerepo=broadway install glib2 gtk3 librsvg2 gnome-icon-theme gnome-icon-theme-symbolic gnome-themes-standard vte3 dconf gsettings-desktop-schemas gnome-terminal gedit nautilus gjs simple_init && yum clean all RUN adduser user -c User -d /home/user -m -s /bin/bash -u 1000 -U RUN mkdir -p /home/user/.config && chown 1000.1000 /home/user/.config RUN echo "user ALL=(root) NOPASSWD: ALL" >> /etc/sudoers ADD init.sh / ADD panel.js / CMD ["/init.sh"] USER 1000 WORKDIR /home/user