Warning, /packaging/docker-neon/Dockerfile is written in an unsupported language. File is not indexed.

0001 FROM ubuntu:20.04
0002 MAINTAINER Jonathan Riddell <jr@jriddell.org>
0003 ADD public.key /
0004 ADD bash-prompt /
0005 RUN apt-get update && \
0006     apt-get install -y gnupg2
0007 ADD neon.list /etc/apt/sources.list.d/
0008 RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
0009     echo keyboard-configuration keyboard-configuration/layout select 'English (US)' | debconf-set-selections && \
0010     echo keyboard-configuration keyboard-configuration/layoutcode select 'us' | debconf-set-selections && \
0011     echo "resolvconf resolvconf/linkify-resolvconf boolean false" | debconf-set-selections && \
0012     apt-key add /public.key && \
0013     rm /public.key && \
0014     apt-get update && \
0015     apt-get install -y ubuntu-minimal ubuntu-standard neon-desktop plasma-workspace-wayland kwin-wayland kwin-wayland-backend-x11 kwin-wayland-backend-wayland kwin-x11 && \
0016     apt-get dist-upgrade -y --allow-downgrades && \
0017     groupadd admin && \
0018     useradd -G admin,video -ms /bin/bash neon && \
0019     # Refresh apt cache once more now that appstream is installed \
0020     rm -r /var/lib/apt/lists/* && \
0021     apt-get remove --yes command-not-found && \
0022     apt-get update && \
0023     # Blank password \
0024     echo 'neon:U6aMy0wojraho' | chpasswd -e && \
0025     echo 'neon ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
0026     apt-get clean && \
0027     cp /usr/lib/x86_64-linux-gnu/libexec/kf5/start_kdeinit /root/ && \
0028     rm /usr/lib/x86_64-linux-gnu/libexec/kf5/start_kdeinit && \
0029     cp /root/start_kdeinit /usr/lib/x86_64-linux-gnu/libexec/kf5/start_kdeinit && \
0030     # Wayland bits \
0031     mkdir /run/neon && \
0032     chown neon:neon /run/neon && \
0033     chmod 7700 /run/neon && \
0034     export PS1=`cat /bash-prompt`
0035 ENV DISPLAY=:1
0036 ENV KDE_FULL_SESSION=true
0037 ENV SHELL=/bin/bash
0038 ENV HOME=/home/neon
0039 ENV XDG_RUNTIME_DIR=/run/neon
0040 USER neon
0041 COPY gitconfig $HOME/.gitconfig
0042 COPY kwinrc $HOME/.config/kwinrc
0043 RUN sudo chown -R neon.neon $HOME/.gitconfig $HOME/.config
0044 WORKDIR /home/neon
0045 CMD startplasma-x11