From 177da18fc8127cefbacd14d0c2f9ef9a57951d63 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Wed, 15 Sep 2021 17:22:38 +1200 Subject: [PATCH] vncserver: update Bionic image --- .../dockerfile.ubuntu_bionic.vncserver.test | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/builder/dockerfile.ubuntu_bionic.vncserver.test b/builder/dockerfile.ubuntu_bionic.vncserver.test index 888d25a..93b3255 100644 --- a/builder/dockerfile.ubuntu_bionic.vncserver.test +++ b/builder/dockerfile.ubuntu_bionic.vncserver.test @@ -14,13 +14,16 @@ RUN apt-get update && apt-get install -y vim less RUN apt-get update && apt-get -y install lsb-release RUN apt-get update && apt-get -y install net-tools -# RUN apt-get update && apt-get install -y task-cinnamon-desktop -# RUN apt-get update && apt-get install -y task-gnome-desktop # RUN mkdir -p /usr/share/man/man1 # RUN apt-get update && apt-get install -y apt-utils openjdk-11-jre -# RUN apt-get update && apt-get install -y task-lxde-desktop RUN apt-get update && apt-get install -y ubuntu-mate-desktop -# RUN apt-get update && apt-get install -y task-kde-desktop +RUN apt-get update && apt-get install -y lxde +RUN apt-get update && apt-get install -y lxqt +RUN apt-get update && apt-get install -y kde-full +RUN apt-get update && apt-get install -y cinnamon +RUN apt-get update && apt-get install -y ubuntu-gnome-desktop + +RUN apt-get update && apt-get install -y python3-pip RUN useradd -m docker ENV USER docker @@ -34,8 +37,12 @@ RUN chown -R 1000:0 $HOME USER 1000:ssl-cert WORKDIR $HOME -RUN echo 'PATH="/src/unix:$PATH"' >> ~/.bashrc +RUN pip3 install --user pipenv +RUN echo 'PATH="/src/unix:~/.local/bin/:$PATH"' >> ~/.bashrc RUN echo 'alias go="sh /src/s; vncserver -kill :1"' >> ~/.bashrc RUN echo 'alias ns="netstat -nltp"' >> ~/.bashrc -ENTRYPOINT "/bin/bash" +ENV LC_ALL=C.UTF-8 +ENV LANG=C.UTF-8 + +ENTRYPOINT "cd /src && pipenv install; /bin/bash"