Skip to content

Commit

Permalink
CI: use alpine 3.21 for docker build (crowdsecurity#3445)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc authored Feb 5, 2025
1 parent dc28ae5 commit 362d5dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/golang:1.23-alpine3.20 AS build
FROM docker.io/golang:1.23-alpine3.21 AS build

ARG BUILD_VERSION

Expand Down Expand Up @@ -30,7 +30,7 @@ RUN make clean release DOCKER_BUILD=1 BUILD_STATIC=1 CGO_CFLAGS="-D_LARGEFILE64_
# In case we need to remove agents here..
# cscli machines list -o json | yq '.[].machineId' | xargs -r cscli machines delete

FROM docker.io/alpine:latest AS slim
FROM docker.io/alpine:3.21 AS slim

RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community tzdata bash rsync && \
mkdir -p /staging/etc/crowdsec && \
Expand Down

0 comments on commit 362d5dc

Please sign in to comment.