update act runner addons

This commit is contained in:
ai-dev
2024-11-01 20:34:12 +01:00
parent ee66b044c3
commit f7f4e7393a
35 changed files with 845 additions and 34 deletions

View File

@ -1,11 +1,11 @@
ARG BUILD_FROM
FROM $BUILD_FROM
ARG BUILD_FROM=ghcr.io/hassio-addons/base:16.3.4
# hadolint ignore=DL3006
FROM ${BUILD_FROM}
ENV LANG C.UTF-8
# Setup base system
ARG \
BUILD_ARCH
# Copy root filesystem
COPY rootfs /
# Install necessary dependencies
RUN apk add --no-cache git docker-cli python3 py3-pip && \
@ -15,11 +15,15 @@ RUN adduser -s /bin/false -D -H actrunner
RUN python3 -m venv /opt/ansible-venv && \
/opt/ansible-venv/bin/pip install --no-cache-dir ansible
# Optional: Additional steps for SSH/GitHub authentication or configuration
# Copy your add-on scripts and configuration files
COPY rootfs /
RUN chmod +x /etc/services.d/actrunner/*
# Build arguments
ARG BUILD_ARCH
ARG BUILD_DATE
ARG BUILD_DESCRIPTION
ARG BUILD_NAME
ARG BUILD_REF
ARG BUILD_REPOSITORY
ARG BUILD_VERSION
# Labels
LABEL \
@ -36,3 +40,4 @@ LABEL \
org.opencontainers.image.licenses="NO" \
org.opencontainers.image.url="https://mezgit.duckdns.org/mezned/HAddons" \
org.opencontainers.image.source="https://mezgit.duckdns.org/mezned/HAddons/gitea_act_runner"