Skip to content

Commit

Permalink
fix buildx error
Browse files Browse the repository at this point in the history
  • Loading branch information
MusclePr committed May 17, 2024
1 parent cc2de45 commit aa1043c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,17 @@ 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 && \
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/
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
RUN cp /home/steam/server/files/sudoers-steam /etc/sudoers.d/steam
RUN chmod 0440 /etc/sudoers.d/steam

Check failure on line 188 in Dockerfile

View workflow job for this annotation

GitHub Actions / Lint - Docker

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.

WORKDIR /home/steam/server

Expand Down

0 comments on commit aa1043c

Please sign in to comment.