Files
mikrotik-olsr/ci/runner.Containerfile
T
feedc0de f24f4579ce
Check source / check (push) Successful in 12s
Publish and promote RouterOS project site / site (push) Failing after 8s
Document cached site runner tools
2026-11-21 21:30:21 +01:00

20 lines
988 B
Docker

# Build on dahoam after the existing 20261119 MikroTik builder image is present.
# Site jobs share this runner with firmware jobs; keep tool downloads in the
# persistent image rather than repeating them in every workflow run.
FROM localhost/mikrotik-olsr-ci:20261119
USER root
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ripgrep && \
rm -rf /var/lib/apt/lists/*
ARG HELM_VERSION=v4.3.0
RUN set -eu; \
curl -fsSLo /tmp/helm.tgz "https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz"; \
curl -fsSLo /tmp/helm.tgz.sha256sum "https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz.sha256sum"; \
expected=$(cut -d ' ' -f1 /tmp/helm.tgz.sha256sum); \
printf '%s %s\n' "$expected" /tmp/helm.tgz | sha256sum -c -; \
tar -xzf /tmp/helm.tgz -C /tmp linux-amd64/helm; \
install -m 0755 /tmp/linux-amd64/helm /usr/local/bin/helm; \
rm -rf /tmp/helm.tgz /tmp/helm.tgz.sha256sum /tmp/linux-amd64