Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Containerize git-crypt
Simple dockerfile that builds git-crypt for alpine linux and wraps it in a small container ~9MB.
Context
I recently started working with https://github.com/concourse/concourse and as a result needed a way to be able to decrypt and encrypt my repos without too much effort.
Problem Statement
Working with concourse introduced a restriction where every task is in a new container.
It simply made sense to create a base image that extended a small footprint ( like https://github.com/gliderlabs/docker-alpine ) and alpine does not contain an apk package for git-crypt. It was easy enough to build in-image and remove the utils leaving a alpine+git-crypt image.
Solution
Create an alpine image that has git-crypt already bundled.
Pending work