File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ RUN apt-get update \
29
29
zip \
30
30
&& apt-get remove -y build-essential libz-dev libmemcached-dev libssl-dev \
31
31
&& apt-get autoremove -y \
32
- && apt-get clean
32
+ && apt-get clean \
33
+ && rm -rf /var/lib/apt/lists/*
33
34
34
35
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
35
36
&& chmod +x wp-cli.phar \
Original file line number Diff line number Diff line change @@ -58,4 +58,5 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | d
58
58
&& chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
59
59
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
60
60
&& apt update \
61
- && apt install gh -y
61
+ && apt install gh -y \
62
+ && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -85,4 +85,5 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | d
85
85
&& chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
86
86
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
87
87
&& apt update \
88
- && apt install gh -y
88
+ && apt install gh -y \
89
+ && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -99,4 +99,5 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | d
99
99
&& chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
100
100
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
101
101
&& apt update \
102
- && apt install gh -y
102
+ && apt install gh -y \
103
+ && rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments