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 98e918b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,18 @@ 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
RUN touch /home/steam/.mitmproxy/mitmproxy-ca-cert.pem

Check failure on line 185 in Dockerfile

View workflow job for this annotation

GitHub Actions / Lint - Docker

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
RUN chown -R steam:steam /home/steam/.mitmproxy

Check failure on line 186 in Dockerfile

View workflow job for this annotation

GitHub Actions / Lint - Docker

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
RUN ln -sf /home/steam/.mitmproxy/mitmproxy-ca-cert.pem /usr/local/share/ca-certificates/mitmproxy.crt

Check failure on line 187 in Dockerfile

View workflow job for this annotation

GitHub Actions / Lint - Docker

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
RUN rm /home/steam/.mitmproxy/mitmproxy-ca-cert.pem

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.
RUN mv /home/steam/server/files/sudoers-steam /etc/sudoers.d/

Check failure on line 189 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 98e918b

Please sign in to comment.