update build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2023-09-01 09:14:29 +02:00
parent 5291903718
commit 8a11deed01
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
variables:
- &golang "golang:1.19"
- &volumes
- /var/www/html/artifacts/capture/deblan:/artifacts
- /var/www/html/artifacts/deblan/capture:/artifacts
pipeline:
test:

View file

@ -1,4 +1,4 @@
FROM golang:1.19 as builder
FROM golang:1.21-bullseye as builder
WORKDIR /src
COPY go.mod go.sum ./
@ -7,7 +7,7 @@ RUN go mod download
COPY . .
RUN BUILD_DIR=/app make
FROM debian:stable-slim
FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y ca-certificates
COPY --from=builder /app/capture-linux-amd64 /usr/bin/capture