Files
MikrotikManager/deploy/updater/Dockerfile
T
DenozordecandCursor 7ed269cf2c
Docker images / prepare-release (push) Successful in 6s
Docker images / backend-image (push) Successful in 4m25s
Docker images / frontend-image (push) Successful in 2m10s
Docker images / notify-webhook (push) Skipped
Docker images / updater-image (push) Successful in 45s
Docker images / publish-release (push) Successful in 6s
ci: переключить registry на git.shx.one
Обновить Gitea Actions, compose, updater и ссылки на образы.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 16:43:40 +07:00

24 lines
503 B
Docker

# syntax=docker/dockerfile:1
FROM docker:27-cli
RUN apk add --no-cache bash curl jq coreutils
WORKDIR /updater
COPY entrypoint.sh /updater/entrypoint.sh
COPY targets.json.example /etc/updater/targets.json
RUN chmod +x /updater/entrypoint.sh
ENV TARGETS_FILE=/etc/updater/targets.json
ENV STATE_FILE=/state/updater-state.json
ENV POLL_INTERVAL_SECONDS=300
ENV HEALTH_TIMEOUT_SECONDS=120
ENV STOP_TIMEOUT_SECONDS=30
ENV REGISTRY=git.shx.one
VOLUME ["/state"]
ENTRYPOINT ["/updater/entrypoint.sh"]