File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,15 @@ RUN curl -fsSLO https://dot.net/v1/dotnet-install.sh \
9696 && rm ./dotnet-install.sh \
9797 && dotnet help
9898
99- RUN apt -y update && apt -y upgrade && apt -y install ca-certificates && \
100- apt -y install -t unstable \
99+ # Prevent systemd from being configured to avoid QEMU segfaults on arm64
100+ RUN echo 'exit 101' > /usr/sbin/policy-rc.d && chmod +x /usr/sbin/policy-rc.d
101+
102+ RUN apt -y update && apt -y install ca-certificates && \
103+ apt-mark hold systemd && \
104+ apt -y -o Dpkg::Options::="--force-overwrite" \
105+ -o Dpkg::Options::="--force-confold" \
106+ -o Dpkg::Options::="--force-confdef" \
107+ install -t unstable --no-install-recommends \
101108 python3.13 \
102109 python3.13-venv \
103110 python3-pip \
You can’t perform that action at this time.
0 commit comments