File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,16 +7,18 @@ ENV DEBIAN_FRONTEND=noninteractive \
77 HOMEBREW_NO_ENV_HINTS=1 \
88 HOMEBREW_NO_ANALYTICS=1
99
10- RUN apt-get update && \
10+ RUN \
11+ # Setup system dependencies
12+ apt-get update && \
1113 apt-get install -y --no-install-recommends \
1214 build-essential curl git ca-certificates procps bash && \
13- rm -rf /var/lib/apt/lists/*
14-
15- RUN useradd -m linuxbrew
16-
17- RUN curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | \
18- su - linuxbrew -c "NONINTERACTIVE=1 /bin/bash" \
19- chmod -R o +rX /home/linuxbrew/.linuxbrew
15+ rm -rf /var/lib/apt/lists/* && \
16+ # Setup Homebrew
17+ useradd -m linuxbrew && \
18+ curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | \
19+ su - linuxbrew -c "NONINTERACTIVE=1 /bin/bash" && \
20+ chgrp -R root /home/linuxbrew/.linuxbrew && \
21+ chmod -R g +rX /home/linuxbrew/.linuxbrew;
2022
2123ENV PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:${PATH}"
2224
You can’t perform that action at this time.
0 commit comments