Add supervisord-dependent-startup, restructure file layout
This commit is contained in:
@ -13,13 +13,19 @@ RUN make clean && make build
|
||||
FROM docker:25.0.5-dind
|
||||
USER root
|
||||
RUN apk add --no-cache \
|
||||
git bash supervisor
|
||||
git bash supervisor python3 py3-pip
|
||||
|
||||
RUN pip3 install --break-system-packages supervisord-dependent-startup
|
||||
|
||||
COPY --from=builder /opt/src/act_runner/act_runner /usr/local/bin/act_runner
|
||||
COPY --from=builder /opt/src/act_runner/scripts/supervisord.conf /etc/supervisord.conf
|
||||
COPY --from=builder /opt/src/act_runner/scripts/run.sh /opt/act/run.sh
|
||||
COPY --from=builder /opt/src/act_runner/scripts/rootless.sh /opt/act/rootless.sh
|
||||
|
||||
COPY /root /
|
||||
|
||||
RUN chmod +x /healthcheck.sh
|
||||
|
||||
ENV DOCKER_PRUNE_INTERVAL="0 0 * * *"
|
||||
|
||||
# Add Crontab for root user
|
||||
|
Reference in New Issue
Block a user