diff --git a/.github/workflows/build-gluon.yml b/.github/workflows/build-gluon.yml
index e5ee54293cb0b0bb327c945860c2daae1c3daa01..f3504cedb440c11dd8f0dc5ef4b349906d762c7f 100644
--- a/.github/workflows/build-gluon.yml
+++ b/.github/workflows/build-gluon.yml
@@ -48,6 +48,9 @@ jobs:
       - name: Show system information
         run: contrib/actions/show-system-info.sh
 
+      - name: Remove non-required software
+        run: contrib/actions/free-runner-space.sh
+
       - name: Build Docker container
         run: docker build -t gluon-ci-container contrib/docker
 
diff --git a/contrib/actions/free-runner-space.sh b/contrib/actions/free-runner-space.sh
new file mode 100755
index 0000000000000000000000000000000000000000..a3dd69d4431fe466f77dd95c311ff0deadbc115f
--- /dev/null
+++ b/contrib/actions/free-runner-space.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+# For a List of pre-installed packages on the runner image see
+# https://github.com/actions/runner-images/tree/main?tab=readme-ov-file#available-images
+
+echo "Disk space before cleanup"
+df -h
+
+# Remove packages not required to run the Gluon build CI
+sudo apt-get -y remove \
+	dotnet-* \
+	firefox \
+	google-chrome-stable \
+	kubectl \
+	microsoft-edge-stable \
+	temurin-*-jdk
+
+# Remove Android SDK tools
+sudo rm -rf /usr/local/lib/android
+
+echo "Disk space after cleanup"
+df -h
+