vncserver: update Bionic image

This commit is contained in:
Dmitry Maksyoma 2021-09-15 17:22:38 +12:00
parent 0b495fd3f9
commit 177da18fc8

View File

@ -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"