Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Dockerfile

SSH in Dockerfile (ugly!)

RUN mkdir -p -m 0600 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
RUN ssh-agent sh -c 'echo "$SSH_KEY" | ssh-add - ; npm install --force'