mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Dockerfile: autoformat.
When I was working on this in VSCode with auto-formatting enabled: it wanted to make these changes which seem nicer to let's let it.
This commit is contained in:
parent
faddb73204
commit
ca65389584
12
Dockerfile
12
Dockerfile
@ -69,15 +69,15 @@ WORKDIR /home/linuxbrew
|
|||||||
|
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/tmp/homebrew-core,uid="${USER_ID}",sharing=locked \
|
RUN --mount=type=cache,target=/tmp/homebrew-core,uid="${USER_ID}",sharing=locked \
|
||||||
# Clone the homebre-core repo into /tmp/homebrew-core or pull latest changes if it exists
|
# Clone the homebrew-core repo into /tmp/homebrew-core or pull latest changes if it exists
|
||||||
git clone https://github.com/homebrew/homebrew-core /tmp/homebrew-core || { cd /tmp/homebrew-core && git pull; } \
|
git clone https://github.com/homebrew/homebrew-core /tmp/homebrew-core || { cd /tmp/homebrew-core && git pull; } \
|
||||||
&& mkdir -p /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core \
|
&& mkdir -p /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core \
|
||||||
&& cp -r /tmp/homebrew-core /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/
|
&& cp -r /tmp/homebrew-core /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/
|
||||||
|
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/home/linuxbrew/.cache,uid="${USER_ID}" \
|
RUN --mount=type=cache,target=/home/linuxbrew/.cache,uid="${USER_ID}" \
|
||||||
--mount=type=cache,target=/home/linuxbrew/.bundle,uid="${USER_ID}" \
|
--mount=type=cache,target=/home/linuxbrew/.bundle,uid="${USER_ID}" \
|
||||||
mkdir -p \
|
mkdir -p \
|
||||||
.linuxbrew/bin \
|
.linuxbrew/bin \
|
||||||
.linuxbrew/etc \
|
.linuxbrew/etc \
|
||||||
.linuxbrew/include \
|
.linuxbrew/include \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user