Skip to content

Commit

Permalink
Replace ubuntu git with homebrew git
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed Sep 22, 2024
1 parent 718a327 commit b1d4c27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions images/ubuntu/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ USER linuxbrew

ENV NONINTERACTIVE=1
RUN curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash
RUN eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && \
brew install git && \
sudo apt-get remove --purge --assume-yes git && \
sudo apt-get autoremove --purge --assume-yes

USER root

Expand Down

0 comments on commit b1d4c27

Please sign in to comment.