Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build git-crypt for alpine #101

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

build git-crypt for alpine #101

wants to merge 4 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 22, 2016

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

  • Add to makefile target to build image
  • Work with current checkout as compared to pulling from HEAD
  • Pass version info via make

@ghost ghost changed the title WIP: build git-crypt with an alpine wrapper build git-crypt with an alpine wrapper Nov 22, 2016
@ghost ghost changed the title build git-crypt with an alpine wrapper build git-crypt for alpine Nov 22, 2016
@spk
Copy link

spk commented Oct 16, 2019

Hi git-crypt is packaged on alpine https://pkgs.alpinelinux.org/package/edge/community/x86/git-crypt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant