update go version for Dockerfile

This commit is contained in:
2024-09-06 14:00:50 +02:00
parent 607eeb04d6
commit 8aa6937a9e

View File

@@ -1,5 +1,4 @@
FROM golang:1.23-alpine AS builder FROM golang:1.23-alpine3.21 as builder
# Do not remove `git` here, it is required for getting runner version when executing `make build` # Do not remove `git` here, it is required for getting runner version when executing `make build`
RUN apk add --no-cache make git RUN apk add --no-cache make git
@@ -11,9 +10,8 @@ WORKDIR /opt/src/act_runner
RUN make clean && make build RUN make clean && make build
FROM docker:dind AS dind FROM alpine:3.21
RUN apk add --no-cache git bash tini
RUN apk add --no-cache s6 bash git
COPY --from=builder /opt/src/act_runner/act_runner /usr/local/bin/act_runner COPY --from=builder /opt/src/act_runner/act_runner /usr/local/bin/act_runner
COPY scripts/run.sh /usr/local/bin/run.sh COPY scripts/run.sh /usr/local/bin/run.sh