Created
May 5, 2020 11:41
-
-
Save one-more/859c1a4233cc05ec34382b7827fc1b77 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
MakeFile: | |
export DOCKER_BUILDKIT=1 | |
build_visual_container: | |
docker build --ssh id=$$HOME/.ssh/id_rsa --file VisualTestingDockerfile -t visual . | |
VisualTestingDockerfile: | |
RUN mkdir -p -m 0600 ~/.ssh && ssh-keyscan -p <?port> <host>.com >> ~/.ssh/known_hosts | |
RUN --mount=type=ssh,id=id --mount=type=ssh npm ci |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment