Skip to content

Basic git image based on official alpine latest. Complete with nice bash alias.

Notifications You must be signed in to change notification settings

BryanDollery/alpine-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic alpine image with git bash and ssh support.

Usage:

  source aliases

Then use git as you normally would. But...

Ok, the difficult bit about using git in docker is access to the config files and your .ssh directory. I've fixed that in the aliases file by using a function that reads your host's .gitconfig file and which maps your host's .ssh directory. YMMV.

You can edit the .gitconfig I've provided here then copy it to your home directory, or you can copy it to your home and use the commands:

  git config --global user.name "{username}"
  git config --global user.email "{email}"

with appropriate values in the quotes.

About

Basic git image based on official alpine latest. Complete with nice bash alias.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published