Add the tzdata package

This commit is contained in:
Daan Selen 2025-08-21 18:10:51 +02:00
parent 53329c46ff
commit 2b77afc39f
1 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,6 @@
### BUILDER STAGE
#
#
FROM golang:1.24-alpine AS builder
# Do not remove `git` here, it is required for getting runner version when executing `make build`
@ -11,6 +14,9 @@ WORKDIR /opt/src/act_runner
RUN make clean && make build
### DIND STAGE
#
#
FROM docker:dind AS dind
RUN apk add --no-cache s6 bash git
@ -23,6 +29,9 @@ VOLUME /data
ENTRYPOINT ["s6-svscan","/etc/s6"]
### DIND-ROOTLESS STAGE
#
#
FROM docker:dind-rootless AS dind-rootless
USER root
@ -41,8 +50,11 @@ ENV DOCKER_HOST=unix:///run/user/1000/docker.sock
USER rootless
ENTRYPOINT ["s6-svscan","/etc/s6"]
### FINAL STAGE
#
#
FROM alpine AS basic
RUN apk add --no-cache tini bash git
RUN apk add --no-cache tini bash git tzdata
COPY --from=builder /opt/src/act_runner/act_runner /usr/local/bin/act_runner
COPY scripts/run.sh /usr/local/bin/run.sh