chore: fix Dockerfile.rootless

This commit is contained in:
Jason Song 2024-09-24 16:09:32 +08:00
parent 604a62abc1
commit bfe0a2622c
No known key found for this signature in database
GPG key ID: 8402EEEE4511A8B5
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM golang:1.23-alpine3.20 AS builder
FROM golang:1.23-alpine AS builder
# Do not remove `git` here, it is required for getting runner version when executing `make build`
RUN apk add --no-cache make git
@ -7,7 +7,7 @@ WORKDIR /opt/src/act_runner
RUN make clean && make build
FROM alpine:3.20
FROM alpine
RUN apk add --no-cache git bash tini
COPY --from=builder /opt/src/act_runner/act_runner /usr/local/bin/act_runner

View file

@ -1,4 +1,4 @@
FROM golang:1.21-alpine3.18 as builder
FROM golang:1.23-alpine AS builder
# Do not remove `git` here, it is required for getting runner version when executing `make build`
RUN apk add --no-cache make git