diff --git a/Dockerfile b/Dockerfile
index 0fb96c221ea2d672989cdb9aba357d0dd5b736e2..807529def3e1abfd4bc3fa1eaa795633f1be63e8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,9 +4,11 @@ ARG PLATFORM="linux.x86_64"
 ARG GODOT_VERSION="4.3-stable"
 ARG BUTLER_VERSION="15.12.0"
 
-RUN sudo apt-get update \
-    && sudo apt-get install -y git libfontconfig1 \
-    && sudo rm -rf /var/lib/apt/lists/*
+USER root
+
+RUN apt-get update \
+    && apt-get install -y git libfontconfig1 \
+    && rm -rf /var/lib/apt/lists/*
 
 COPY commands/godot_build.sh /usr/bin/godot_build
 COPY commands/godot_build_web.sh /usr/bin/godot_build_web