Dockerized git application for use in LibreELEC
4.5K
Pull the image from registry:
docker pull arajczy/git
run the container:
docker run -i --rm -v $(pwd):/git -v $HOME/.ssh:/root/.ssh arajczy/git
Pull the image
pull arajczy/git
Add application script
mkdir -p /storage/bin
echo '#!/bin/sh' > /storage/bin/git
echo 'docker run -i --rm -v $(pwd):/git -v $HOME/.gitconfig:/.gitconfig -v $HOME/.ssh:/root/.ssh arajczy/git "$@"' >> /storage/bin/git
echo 'export PATH=/storage/bin:$PATH' >> /storage/.profile
Source .profile
source /storage/.profile
Run the application
git --version
Content type
Image
Digest
sha256:d90310585…
Size
15.7 MB
Last updated
17 days ago
docker pull arajczy/git