mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-10 02:12:27 +01:00
Removing package on u22
This commit is contained in:
parent
6595681dee
commit
52b72755d0
1 changed files with 11 additions and 0 deletions
|
|
@ -35,6 +35,15 @@ RUN apt update \
|
|||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
{% if version == "22" %}
|
||||
# install debs error if combine together
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
xvfb x11vnc ttf-wqy-zenhei \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
{% else %}
|
||||
# install debs error if combine together
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
|
|
@ -42,6 +51,8 @@ RUN apt update \
|
|||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
{% endif %}
|
||||
|
||||
|
||||
# Install Desktop
|
||||
RUN apt update \
|
||||
|
|
|
|||
Loading…
Reference in a new issue