Skip to content

Commit

Permalink
Clean up more after apt-get upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
gbenson committed Nov 20, 2023
1 parent d89a9ea commit 231dca3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion monerod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ RUN set -eux \
&& apt-get -y upgrade \
&& apt-get -y install curl bzip2 \
&& apt-get -y clean \
&& rm -rf /var/lib/apt
&& rm -rf /var/lib/apt /var/cache/apt/archives \
&& rm -f /var/cache/ldconfig/aux-cache \
&& for i in /run/*; do [ "$i" = "/run/lock" ] || rm -rf "$i"; done

FROM base as builder

Expand Down
4 changes: 3 additions & 1 deletion p2pool/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ RUN set -eux \
&& apt-get -y upgrade \
&& apt-get -y install curl \
&& apt-get -y clean \
&& rm -rf /var/lib/apt
&& rm -rf /var/lib/apt /var/cache/apt/archives \
&& rm -f /var/cache/ldconfig/aux-cache \
&& for i in /run/*; do [ "$i" = "/run/lock" ] || rm -rf "$i"; done

FROM base as builder

Expand Down
4 changes: 3 additions & 1 deletion tor-node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ RUN set -eux \
&& apt-get -y upgrade \
&& apt-get -y install tor \
&& apt-get -y clean \
&& rm -rf /var/lib/apt
&& rm -rf /var/lib/apt /var/cache/apt/archives \
&& rm -f /var/cache/ldconfig/aux-cache \
&& for i in /run/*; do [ "$i" = "/run/lock" ] || rm -rf "$i"; done

FROM base as builder
COPY entrypoint.sh /
Expand Down

0 comments on commit 231dca3

Please sign in to comment.