add docker socket and install curl

This commit is contained in:
Late Night Defender 2024-05-16 15:38:20 +07:00
parent a7484450d9
commit 060975becc

View file

@ -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
- ./main
volumes:
- /var/run/docker.sock:/var/run/docker.sock