From 52b72755d0c22ae1e14da60d29bb3a867278bd83 Mon Sep 17 00:00:00 2001 From: Devin Dice Date: Sat, 21 Jan 2023 22:58:16 -0500 Subject: [PATCH] Removing package on u22 --- configuration/Dockerfile.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configuration/Dockerfile.j2 b/configuration/Dockerfile.j2 index c7fa17c..2271a28 100644 --- a/configuration/Dockerfile.j2 +++ b/configuration/Dockerfile.j2 @@ -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 \