From 060975beccaa9fb449110188f5238e0fd84b2e89 Mon Sep 17 00:00:00 2001 From: Late Night Defender Date: Thu, 16 May 2024 15:38:20 +0700 Subject: [PATCH] add docker socket and install curl --- .woodpecker | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.woodpecker b/.woodpecker index 2f83891..bca8b31 100644 --- a/.woodpecker +++ b/.woodpecker @@ -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 \ No newline at end of file + - ./main + volumes: + - /var/run/docker.sock:/var/run/docker.sock \ No newline at end of file