Skip to content

Commit

Permalink
Merge pull request #40 from portainer/fix/EE-7023/mingit-upgrade-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-portainer authored Apr 18, 2024
2 parents 70b14d4 + cfce94b commit ffa3c8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/windows/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ARG OSVERSION
FROM --platform=linux/amd64 gcr.io/k8s-staging-e2e-test-images/windows-servercore-cache:1.0-linux-amd64-${OSVERSION} as core
FROM --platform=linux/amd64 alpine:3.13.0 as downloader
ENV GIT_VERSION 2.30.0
ENV GIT_PATCH_VERSION 2
ENV GIT_VERSION 2.44.0
ENV GIT_PATCH_VERSION 1

RUN mkdir mingit/ \
&& wget https://github.com/git-for-windows/git/releases/download/v$GIT_VERSION.windows.$GIT_PATCH_VERSION/MinGit-$GIT_VERSION.$GIT_PATCH_VERSION-busybox-64-bit.zip \
&& unzip MinGit-$GIT_VERSION.$GIT_PATCH_VERSION-busybox-64-bit.zip -d mingit/
&& wget https://github.com/git-for-windows/git/releases/download/v$GIT_VERSION.windows.$GIT_PATCH_VERSION/MinGit-$GIT_VERSION-busybox-64-bit.zip \
&& unzip MinGit-$GIT_VERSION-busybox-64-bit.zip -d mingit/

FROM mcr.microsoft.com/windows/nanoserver:${OSVERSION}
ENV PATH "C:\mingit\cmd;C:\app;C:\Windows\system32;C:\Windows;"
Expand Down

0 comments on commit ffa3c8d

Please sign in to comment.