This repository was archived by the owner on Jan 25, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -474,12 +474,14 @@ ENV PATH "$SWIFTENV_ROOT/bin:$SWIFTENV_ROOT/shims:$PATH"
474
474
# Homebrew
475
475
#
476
476
# ###############################################################################
477
+ USER root
478
+ RUN mkdir -p /home/linuxbrew/.linuxbrew && chown -R buildbot /home/linuxbrew/
477
479
USER buildbot
478
- RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/calavera /install/fc565dc04a2035287b90de7eab16933e59827734 /install.sh)"
479
- ENV PATH "/opt/buildhome /.linuxbrew/bin:$PATH "
480
- ENV HOMEBREW_PREFIX "/opt/buildhome/.linuxbrew "
481
- ENV HOMEBREW_CELLAR "/opt/buildhome/.linuxbrew /Cellar"
482
- ENV HOMEBREW_REPOSITORY "/opt/buildhome/.linuxbrew /Homebrew"
480
+ RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew /install/HEAD /install.sh)"
481
+ ENV HOMEBREW_PREFIX "/home/linuxbrew /.linuxbrew"
482
+ ENV PATH "${HOMEBREW_PREFIX}/bin:${PATH} "
483
+ ENV HOMEBREW_CELLAR "${HOMEBREW_PREFIX} /Cellar"
484
+ ENV HOMEBREW_REPOSITORY "${HOMEBREW_PREFIX} /Homebrew"
483
485
ENV HOMEBREW_CACHE "/opt/buildhome/.homebrew-cache"
484
486
RUN brew tap homebrew/bundle
485
487
You can’t perform that action at this time.
0 commit comments