Skip to content

catvec/git-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Container

Container with a Git client.

Table Of Contents

Overview

A container with a Git client.

Note: This is probably a bad idea. Since it builds a Docker container with your SSH private key and private key password.

Build

  1. Copy your SSH private key into the repository directory with a name of ssh_private_key in the
  2. Set the following environment variables:
    • SSH_NAME: Your name
    • SSH_EMAIL: Your email
    • SSH_PASSWORD: Private key password
  3. Run make build

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
NEVER push this container to a registry. As it will contain your SSH private key and password.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Run

./bin/git-container

About

Container with a Git client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published