Skip to content

Commit

Permalink
fix: remove extra repo files from final image (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
castrojo authored Apr 15, 2023
1 parent 7ed13f1 commit c088d4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ RUN /tmp/build.sh && \
systemctl enable tailscaled.service && \
fc-cache -f /usr/share/fonts/ubuntu && \
rm -f /etc/yum.repos.d/tailscale.repo && \
rm -f /etc/yum.repos.d/rpmfusion*.repo && \
rm -f /etc/yum.repos.d/google-chrome.repo && \
rm -f /etc/yum.repos.d/_copr*.repo && \
sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/user.conf && \
sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/system.conf && \
rm -rf /tmp/* /var/* && \
Expand Down

0 comments on commit c088d4e

Please sign in to comment.