Skip to content

xtracdev/scratchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project supplements the scratch container with the ca certificates of /etc/ssl/certs from the Ubuntu trusty Linux image.

An easy way to grab tge CA certs files to run an interactive shell with trusy and to copy the file to your local drive.

To run an interactive terminal session in trusty:

docker run -v $PWD:/foo -it ubuntu:trusty

Then in your trusty session install the certs and copy them to the directory you mapped to you local drive. The commands are:

apt-get update -y
apt-get install -y ca-certificates
cp /etc/ssl/certs/ca-certificates.crt /foo

Once you have ca-certificates.crt in place you can create the image using make.

This was inspired by the a codeship blog article