File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ RUN curl -L ${HELM_URL} | tar zxv -C /tmp \
9393 && chmod +x jx-release-version \
9494 && mv jx-release-version /bin/jx-release-version \
9595 && rm -rf /tmp/*
96- ARG GORELEASER_VERSION=v0.119 .0
96+ ARG GORELEASER_VERSION=v0.127 .0
9797ARG GORELEASER_FILENAME=goreleaser_Linux_x86_64.tar.gz
9898ARG GORELEASER_URL=https://github.com/goreleaser/goreleaser/releases/download/${GORELEASER_VERSION}/${GORELEASER_FILENAME}
9999RUN curl -L ${GORELEASER_URL} | tar zxv -C /tmp \
@@ -170,16 +170,23 @@ RUN wget ${ECR_CREDENTIALS_HELPER_URL} \
170170 && mv docker-credential-ecr-login /usr/bin \
171171 && chmod +x /usr/bin/docker-credential-ecr-login
172172
173+ ARG GIT_VERSION=2.25.1
174+ ARG GIT_DIR=git-${GIT_VERSION}
175+ ARG GIT_FILE=${GIT_DIR}.tar.gz
176+ ARG GIT_URL=https://www.kernel.org/pub/software/scm/git/${GIT_FILE}
177+
173178RUN yum remove -y git && \
174179 yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel && \
175180 yum install -y gcc perl-ExtUtils-MakeMaker && \
176181 mkdir -p /usr/src && \
177182 cd /usr/src && \
178- wget https://www.kernel.org/pub/software/scm/git/git-2.21.0.tar.gz && \
179- tar xzf git-2.21.0.tar.gz && \
180- cd git-2.21.0 && \
181- make prefix=/usr/local/git all && \
182- echo "export PATH=/usr/local/git/bin:$PATH" >> /etc/bashrc && \
183+ wget ${GIT_URL} && \
184+ tar xzf ${GIT_FILE} && \
185+ cd ${GIT_DIR} && \
186+ ./configure && \
187+ make && \
188+ make install && \
189+ echo "export PATH=/usr/local/bin:$PATH" >> /etc/bashrc && \
183190 source /etc/bashrc && \
184191 mv git /usr/bin/ && \
185192 rm -rf /usr/src
You can’t perform that action at this time.
0 commit comments