Hannes Kath commited on
Commit
531f94e
·
1 Parent(s): ec861f1

change Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -10
Dockerfile CHANGED
@@ -1,10 +1,8 @@
1
- # Declare your environment variables with the ARG directive
2
- ARG GRADIO_ACOUSTIC
3
-
4
- # Use Python 3.10
5
- FROM python:3.10
6
-
7
-
8
- # Comment
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`.