diff --git a/Dockerfile b/Dockerfile index 5620d49cd..78a82ddf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -175,10 +175,14 @@ RUN chmod +x /home/steam/server/*.sh && \ ln -sf /home/steam/server/autopause.sh /usr/local/bin/autopause && \ ln -sf /home/steam/server/autopaused-ctl.sh /usr/local/sbin/autopaused-ctl -# install mitmproxy addons & certs +# install mitmproxy addons RUN mkdir -p /home/steam/autopause/addons && \ mv /home/steam/server/PalIntercept.py ../autopause/addons/ && \ - chown -R steam:steam /home/steam/autopause && \ + chown -R steam:steam /home/steam/autopause + +# Preparation to incorporate ca-cert generated at runtime by mitmproxy. +RUN mkdir -p /home/steam/.mitmproxy && \ + chown steam:steam /home/steam/.mitmproxy && \ ln -sf /home/steam/.mitmproxy/mitmproxy-ca-cert.pem /usr/local/share/ca-certificates/mitmproxy.crt && \ mv /home/steam/server/files/sudoers-steam /etc/sudoers.d/