Last active
April 3, 2018 14:29
-
-
Save DCRichards/28dd0fbef55b1b4497fd07a44c5cf3b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.9 | |
# (other stuff omitted for brevity) | |
# Add your keys to the container | |
COPY ssh /root/.ssh | |
# Start the SSH Agent, add the SSH Key and then ensure our dependencies | |
RUN eval "$(ssh-agent)" && ssh-add /root/.ssh/id_rsa && dep ensure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment