An open API service indexing awesome lists of open source software.

https://github.com/catvec/git-container

Container with a Git client
https://github.com/catvec/git-container

Last synced: 7 months ago
JSON representation

Container with a Git client

Awesome Lists containing this project

README

          

# Git Container
Container with a Git client.

# Table Of Contents
- [Overview](#overview)
- [Build](#build)
- [Run](#run)

# 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
3. Set the following environment variables:
- `SSH_NAME`: Your name
- `SSH_EMAIL`: Your email
- `SSH_PASSWORD`: Private key password
2. Run `make build`

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

# Run
```
./bin/git-container
```