Removing package on u22

This commit is contained in:
Devin Dice 2023-01-21 22:58:16 -05:00
parent 6595681dee
commit 52b72755d0

View file

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