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
- Host: GitHub
- URL: https://github.com/catvec/git-container
- Owner: catvec
- License: mit
- Created: 2019-01-08T00:10:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-08T23:30:34.000Z (about 7 years ago)
- Last Synced: 2025-05-04T01:02:14.672Z (11 months ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```