calm-artist-7206
03/27/2026, 1:49 AMcalm-artist-7206
03/27/2026, 3:35 AMcalm-baker-50631
04/03/2026, 3:19 PMopenhands:latest via docker compose, but the build fails at the apt-get update step in the Dockerfile (around line 52).
The error is: W: Failed to fetch <http://deb.debian.org/debian/dists/trixie/InRelease> Unable to mkstemp /tmp/apt.sig.gul3Z1 - GetTempFile (13: Permission denied) exit code: 100
It seems the /tmp directory in the base image has incorrect permissions. Adding USER root and RUN chmod 1777 /tmp right before the apt-get command fixes the issue. Just wanted to report this so it can be fixed in the upstream!
Sorry if wrong chat
USER root
RUN chmod 1777 /tmp \
&& apt-get update -y \
&& apt-get install -y curl git ssh sudo \
&& rm -rf /var/lib/apt/lists/*