mirror of https://github.com/docker/docs.git
Directories need the executable bit set.
This commit is contained in:
parent
7d070ddcac
commit
0508c664d2
|
@ -222,7 +222,7 @@ FROM alpine
|
|||
RUN apk add --no-cache openssh-client git
|
||||
|
||||
# Download public key for github.com
|
||||
RUN mkdir -p -m 0600 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||
|
||||
# Clone private repository
|
||||
RUN --mount=type=ssh git clone git@github.com:myorg/myproject.git myproject
|
||||
|
|
Loading…
Reference in New Issue