HUB
Sign inSign up

arajczy/git

By arajczy

•Updated 17 days ago

Dockerized git application for use in LibreELEC

Image
Developer tools
0

4.5K

arajczy/git repository overview

⁠Dockerized git application for use @ LibreELEC⁠

Docker Image Size (tag) Docker Pulls GitHub License GitHub Workflow Status (with event) GitHub issues

⁠Usage

  1. Pull the image from registry:

    docker pull arajczy/git
    
  2. run the container:

    docker run -i --rm -v $(pwd):/git -v $HOME/.ssh:/root/.ssh arajczy/git
    

⁠Install dockerized git application @ LibreELEC

  1. Pull the image

    pull arajczy/git
    
  2. 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
    
  3. Source .profile

    source /storage/.profile
    
  4. Run the application

    git --version
    

Tag summary

Content type

Image

Digest

sha256:d90310585…

Size

15.7 MB

Last updated

17 days ago

docker pull arajczy/git