Spaces:
Build error
Build error
Hannes Kath
commited on
Commit
·
531f94e
1
Parent(s):
ec861f1
change Dockerfile
Browse files- Dockerfile +8 -10
Dockerfile
CHANGED
|
@@ -1,10 +1,8 @@
|
|
| 1 |
-
#
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
#
|
| 9 |
-
RUN echo 'we are running some # of cool things'
|
| 10 |
-
|
|
|
|
| 1 |
+
# syntax=docker/dockerfile:1
|
| 2 |
+
FROM alpine
|
| 3 |
+
RUN apk add --no-cache openssh-client
|
| 4 |
+
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan gitlab.com >> ~/.ssh/known_hosts
|
| 5 |
+
RUN --mount=type=ssh \
|
| 6 |
+
ssh -q -T git@gitlab.com 2>&1 | tee /hello
|
| 7 |
+
# "Welcome to GitLab, @GITLAB_USERNAME_ASSOCIATED_WITH_SSHKEY" should be printed here
|
| 8 |
+
# with the type of build progress is defined as `plain`.
|
|
|
|
|
|