add docker socket and install curl
This commit is contained in:
parent
a7484450d9
commit
060975becc
1 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,9 @@ steps:
|
|||
image: docker.io/library/ubuntu:latest
|
||||
commands:
|
||||
- apt update
|
||||
- apt install -y ca-certificates golang
|
||||
- apt install -y ca-certificates curl golang
|
||||
- go get
|
||||
- go build
|
||||
- ./main
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
Loading…
Reference in a new issue