https://github.com/yhagio/docker_ssh_example
How to install private repo in docker image using local ssh
https://github.com/yhagio/docker_ssh_example
docker docker-compose nodejs ssh
Last synced: about 2 months ago
JSON representation
How to install private repo in docker image using local ssh
- Host: GitHub
- URL: https://github.com/yhagio/docker_ssh_example
- Owner: yhagio
- Created: 2018-11-18T18:10:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-18T18:53:14.000Z (over 7 years ago)
- Last Synced: 2025-02-25T13:54:43.255Z (over 1 year ago)
- Topics: docker, docker-compose, nodejs, ssh
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker, Docker-Compose, SSH
This repo is to show how to install private package using local SSH in your Docker image
```sh
cd compose
# build images using your local ssh keys
docker-compose -f docker-compose.install.yml build --build-arg KEY=\"$(cat ~/.ssh/id_rsa)\" --build-arg PUB=\"$(cat ~/.ssh/id_rsa.pub)\"
# build containers and run the app
docker-compose up
```