File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,12 @@ RUN apt-get update --quiet && apt-get install --yes \
172
172
RUN curl -L https://github.com/cli/cli/releases/download/v2.14.7/gh_2.14.7_linux_amd64.deb -o gh.deb && \
173
173
dpkg -i gh.deb
174
174
175
+ # Install Lazygit
176
+ # See https://github.com/jesseduffield/lazygit#ubuntu
177
+ RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v*([^"]+)".*/\1 /' ) && \
178
+ curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" && \
179
+ sudo tar xf lazygit.tar.gz -C /usr/local/bin lazygit
180
+
175
181
# Install frontend utilities
176
182
RUN apt-get update && \
177
183
# Node.js (from nodesource) and Yarn (from yarnpkg)
You can’t perform that action at this time.
0 commit comments