Sign inSign up

intechdigital/git-crypt

By intechdigital

•Updated about 1 month ago

Windows docker image with MSYS2 based git-crypt

Image
0

526

intechdigital/git-crypt repository overview

⁠git-crypt - transparent file encryption in git

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

⁠Dockerfile

see https://github.com/in-tech/git-crypt⁠

⁠Usage

⁠git-crypt unlock
docker run -it --rm -v ${bamboo.working.directory}:C:\msys64\data intechdigital/git-crypt:latest
⁠other git-crypt commands

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"

Tag summary

Content type

Image

Digest

sha256:d3e644004…

Size

17.3 MB

Last updated

about 1 month ago

docker pull intechdigital/git-crypt