Public | Automated Build

Last pushed: 24 days ago
Short Description
Alpine based git client
Full Description

git

Run git

Building

$ docker build -t 4km3/git .

Configuration

Default values

: "${GIT_WORK_TREE:=/workdir}"
: "${GIT_DIR:=/workdir/.git}"

Sample usage

Go to the git repo working dir,
then run the container like this:

$ docker run                    \
        -it                     \
        --rm                    \
        -v $PWD:/workdir        \
        4km3/git status

For your convenience, a bash function named 'git' is provided in git.bash:

$ . git.bash
$ git status
...
Docker Pull Command
Owner
4km3
Source Repository

Comments (0)