mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 08:22:31 +01:00
fix: mask tight encoding for armhf (bug #98)
This commit is contained in:
parent
0adc0da8e8
commit
f1d608d92c
2 changed files with 7 additions and 5 deletions
|
|
@ -17,7 +17,7 @@ RUN apt-get update \
|
||||||
supervisor nginx sudo vim-tiny net-tools zenity xz-utils \
|
supervisor nginx sudo vim-tiny net-tools zenity xz-utils \
|
||||||
dbus-x11 x11-utils alsa-utils \
|
dbus-x11 x11-utils alsa-utils \
|
||||||
mesa-utils libgl1-mesa-dri \
|
mesa-utils libgl1-mesa-dri \
|
||||||
lxde xvfb x11vnc=0.9.16 \
|
lxde xvfb x11vnc=0.9.16-1 \
|
||||||
gtk2-engines-murrine gnome-themes-standard gtk2-engines-pixbuf gtk2-engines-murrine arc-theme \
|
gtk2-engines-murrine gnome-themes-standard gtk2-engines-pixbuf gtk2-engines-murrine arc-theme \
|
||||||
firefox chromium-browser \
|
firefox chromium-browser \
|
||||||
ttf-ubuntu-font-family ttf-wqy-zenhei \
|
ttf-ubuntu-font-family ttf-wqy-zenhei \
|
||||||
|
|
|
||||||
|
|
@ -18,16 +18,17 @@ RUN apt update \
|
||||||
supervisor nginx sudo vim-tiny net-tools zenity xz-utils \
|
supervisor nginx sudo vim-tiny net-tools zenity xz-utils \
|
||||||
dbus-x11 x11-utils alsa-utils \
|
dbus-x11 x11-utils alsa-utils \
|
||||||
mesa-utils libgl1-mesa-dri \
|
mesa-utils libgl1-mesa-dri \
|
||||||
&& add-apt-repository -r ppa:fcwu-tw/apps \
|
|
||||||
&& apt autoclean -y \
|
&& apt autoclean -y \
|
||||||
&& apt autoremove -y \
|
&& apt autoremove -y \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
# install debs error if combine together
|
# install debs error if combine together
|
||||||
RUN apt update \
|
RUN add-apt-repository -y ppa:fcwu-tw/apps \
|
||||||
|
&& apt update \
|
||||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||||
lxde xvfb x11vnc \
|
lxde xvfb x11vnc=0.9.16-1 \
|
||||||
firefox chromium-browser \
|
firefox chromium-browser \
|
||||||
ttf-ubuntu-font-family ttf-wqy-zenhei \
|
ttf-ubuntu-font-family ttf-wqy-zenhei \
|
||||||
|
&& add-apt-repository -r ppa:fcwu-tw/apps \
|
||||||
&& apt autoclean -y \
|
&& apt autoclean -y \
|
||||||
&& apt autoremove -y \
|
&& apt autoremove -y \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
@ -72,7 +73,7 @@ ARG localbuild
|
||||||
RUN if [ "x$localbuild" != "x" ]; then sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list; fi
|
RUN if [ "x$localbuild" != "x" ]; then sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list; fi
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg
|
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg patch
|
||||||
|
|
||||||
# nodejs
|
# nodejs
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
|
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
|
||||||
|
|
@ -89,6 +90,7 @@ COPY web /src/web
|
||||||
RUN cd /src/web \
|
RUN cd /src/web \
|
||||||
&& yarn \
|
&& yarn \
|
||||||
&& npm run build
|
&& npm run build
|
||||||
|
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue