Windows docker image with MSYS2 based git-crypt
526
Windows Docker image that contains an MSYS2 installation with git-crypt. git-crypt enables transparent encryption and decryption of files in a git repository.
Container instantiated from this image must run on a Windows Server 2022 as we use mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 as base image. If you need to run your build container on older windows hosts, try using an older base image (e.g. mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019).
See Windows container version compatibility for further information.c
see https://github.com/in-tech/git-crypt
docker run -it --rm -v ${bamboo.working.directory}:C:\msys64\data intechdigital/git-crypt:latest
Other git-crypt commands need a some unusual docker command parameter due to path handling in nested MSYS2 shell:
docker run -it --rm -v ${bamboo.working.directory}:C:\msys64\data intechdigital/git-crypt:latest "cd data; git-crypt status"
Content type
Image
Digest
sha256:d3e644004…
Size
17.3 MB
Last updated
about 1 month ago
docker pull intechdigital/git-crypt