mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Use --no-install-recommends
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
This commit is contained in:
parent
60b1cb7afd
commit
ff285217da
@ -36,7 +36,7 @@ RUN apt-get update \
|
||||
uuid-runtime \
|
||||
tzdata \
|
||||
jq \
|
||||
&& if [ "$(. /etc/lsb-release; echo "${DISTRIB_RELEASE}" | cut -d. -f1)" -ge 18 ]; then apt-get install -y gh gpg skopeo; fi \
|
||||
&& if [ "$(. /etc/lsb-release; echo "${DISTRIB_RELEASE}" | cut -d. -f1)" -ge 18 ]; then apt-get install -y --no-install-recommends gh gpg skopeo; fi \
|
||||
&& apt-get remove --purge -y software-properties-common \
|
||||
&& apt-get autoremove --purge -y \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
|
Loading…
x
Reference in New Issue
Block a user