Skip to content

Instantly share code, notes, and snippets.

@mosluce
Last active February 6, 2018 06:29
Show Gist options
  • Save mosluce/6d582d1cb6a74ed5bbe7b0660203ede8 to your computer and use it in GitHub Desktop.
Save mosluce/6d582d1cb6a74ed5bbe7b0660203ede8 to your computer and use it in GitHub Desktop.
clone private repo
FROM alpine
RUN apk add --no-cache git openssh-client bash
# RUN ssh-keygen -q -f /root/.ssh/id_rsa -P ""
COPY ./ssh /root/.ssh
RUN git clone [email protected]:mosluce/some-private.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment