File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ tools :
3
+ - name : docker
4
+ description : run any docker command with arguments
5
+ parameters :
6
+ type : object
7
+ properties :
8
+ args :
9
+ type : string
10
+ description : arguments to pass to the docker CLI
11
+ container :
12
+ image : docker:cli
13
+ command :
14
+ - " {{args|safe}}"
15
+ ---
16
+
17
+ # prompt user
18
+
19
+ 1 . run the docker command to figure out which images have been pulled
20
+
Original file line number Diff line number Diff line change 118
118
(when host-dir {:HostConfig
119
119
{:Binds
120
120
(concat [(format " %s:/project:rw" host-dir)
121
- " docker-lsp:/docker-lsp" ]
121
+ " docker-lsp:/docker-lsp"
122
+ " /var/run/docker.sock:/var/run/docker.sock" ]
122
123
(when thread-id [(format " %s:/thread:rw" thread-id)]))}
123
124
:WorkingDir " /project" })
124
125
(when entrypoint {:Entrypoint entrypoint})
You can’t perform that action at this time.
0 commit comments