Skip to content

yhagio/docker_ssh_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Docker, Docker-Compose, SSH

This repo is to show how to install private package using local SSH in your Docker image

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

About

How to install private repo in docker image using local ssh

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors