Skip to content
Snippets Groups Projects
Commit b3fc3262 authored by Griefed's avatar Griefed :joystick:
Browse files

perf: Deactivafe force-unsafe-io. I'd rather builds take a couple of seconds...

perf: Deactivafe force-unsafe-io. I'd rather builds take a couple of seconds longer than risking failures due to disabled safety features.
parent 77dca5d3
No related branches found
No related tags found
No related merge requests found
...@@ -80,8 +80,8 @@ RUN \ ...@@ -80,8 +80,8 @@ RUN \
sed -i \ sed -i \
's/^exit.*/exit 0/' \ 's/^exit.*/exit 0/' \
/sbin/initctl && \ /sbin/initctl && \
echo 'force-unsafe-io' \ # echo 'force-unsafe-io' \
> /etc/dpkg/dpkg.cfg.d/docker-apt-speedup && \ # > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup && \
echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' \ echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' \
> /etc/apt/apt.conf.d/docker-clean && \ > /etc/apt/apt.conf.d/docker-clean && \
echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' \ echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment