Light alpine-based image for utilizing git commands
4.3K
A simple Alpine based image containing git and it's required dependencies.
Inspired by alpine-docker/git
The default ENTRYPOINT for the container is git, so base any following
container commands off of that.
docker run --rm -it bdebyl/alpine-docker:latest diff
---
kind: pipeline
name: default
...
steps:
# Only proceed if merged changes include Dockerfile changes
- name: gate
image: bdebyl/alpine-git
commands:
- git fetch origin +refs/heads/master
- git show-ref
- git diff --name-only $(git merge-base refs/remotes/origin/master HEAD)..HEAD | grep Dockerfile || exit 78
Content type
Image
Digest
sha256:c60d25959…
Size
24.9 MB
Last updated
over 1 year ago
docker pull bdebyl/alpine-git:0.1.149