mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2026-08-05 16:12:41 +02:00
CHT supports and cleanup
This commit is contained in:
+6
-10
@@ -4,11 +4,6 @@ MAINTAINER Doro Wu <fcwu.tw@gmail.com>
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV HOME /root
|
||||
|
||||
# no Upstart or DBus
|
||||
# https://github.com/dotcloud/docker/issues/1724#issuecomment-26294856
|
||||
RUN apt-mark hold initscripts udev plymouth mountall
|
||||
RUN dpkg-divert --local --rename --add /sbin/initctl && ln -sf /bin/true /sbin/initctl
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --force-yes --no-install-recommends supervisor \
|
||||
openssh-server pwgen sudo vim-tiny \
|
||||
@@ -16,15 +11,16 @@ RUN apt-get update \
|
||||
lxde x11vnc xvfb \
|
||||
gtk2-engines-murrine ttf-ubuntu-font-family \
|
||||
libreoffice firefox \
|
||||
fonts-wqy-microhei \
|
||||
language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-tw \
|
||||
&& apt-get autoclean \
|
||||
&& apt-get autoremove \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
ADD noVNC /noVNC/
|
||||
ADD startup.sh /
|
||||
ADD supervisord.conf /
|
||||
ADD supervisord.conf /etc/
|
||||
EXPOSE 6080
|
||||
EXPOSE 5900
|
||||
EXPOSE 22
|
||||
WORKDIR /
|
||||
WORKDIR /root
|
||||
ENTRYPOINT ["/startup.sh"]
|
||||
|
||||
Reference in New Issue
Block a user