From b33ac9effe1adb9ee3380c4eca6d786861893792 Mon Sep 17 00:00:00 2001 From: Zion Nimchuk Date: Tue, 18 Feb 2025 23:21:36 -0800 Subject: [PATCH] Add cache and cleanup apt in aarch64 --- jammy-aarch64/Dockerfile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/jammy-aarch64/Dockerfile b/jammy-aarch64/Dockerfile index 8c05df4..c436bb2 100644 --- a/jammy-aarch64/Dockerfile +++ b/jammy-aarch64/Dockerfile @@ -23,6 +23,7 @@ RUN \ apt-get -y install \ build-essential \ git \ + ccache \ curl \ libfreetype6 \ xz-utils \ @@ -70,15 +71,13 @@ RUN \ libwayland-client0 \ libwayland-server0 \ libwayland-dev \ - libwayland-cursor0 - -# For QT build we need some unknown X11/XCB deps. Just install everything by prefix -RUN \ - apt -y install \ - libx11-* \ - libxcb-* \ - libxkb* - + libwayland-cursor0 \ + libx11-* \ + libxcb-* \ + libxkb* && \ + apt-get clean autoclean && \ + apt-get autoremove --yes && \ + rm -rf /var/lib/apt RUN \ curl -sSfLO http://http.us.debian.org/debian/pool/main/g/glew/libglew2.2_2.2.0-4+b1_arm64.deb && \ curl -sSfLO http://http.us.debian.org/debian/pool/main/g/glew/libglew-dev_2.2.0-4+b1_arm64.deb && \