ci(runner): make runner image completely standalone based on ubuntu:22.04
Release Binaries & Packages / Build & Release Standalone Binaries (Linux & Windows Cross-Compilation) (push) Canceled after 0s
CI Test Suite / Run Component Tests & Pipeline Verification (push) Successful in 2m10s
Build and Push LOGAR Runner / Build & Push Runner Image (push) Successful in 6m30s

This commit is contained in:
2026-09-26 18:43:51 +02:00
parent 125870b135
commit 2c9f8d9b91
2 changed files with 32 additions and 11 deletions
+1 -3
View File
@@ -39,9 +39,7 @@ jobs:
DOCKER_BUILDKIT: "0" DOCKER_BUILDKIT: "0"
run: | run: |
IMAGE_TAG="gitea.eibl.tech/me0nline/logar-runner:latest" IMAGE_TAG="gitea.eibl.tech/me0nline/logar-runner:latest"
echo "Pulling base codechecker-runner image..." echo "Building ${IMAGE_TAG}..."
docker pull gitea.eibl.tech/me0nline/codechecker-runner:latest || true
echo "Building ${IMAGE_TAG} on top of codechecker-runner..."
docker build \ docker build \
-t "${IMAGE_TAG}" \ -t "${IMAGE_TAG}" \
-f runner/Dockerfile \ -f runner/Dockerfile \
+31 -8
View File
@@ -1,24 +1,43 @@
FROM gitea.eibl.tech/me0nline/codechecker-runner:latest FROM ubuntu:22.04
LABEL maintainer="me0nline <me0nline@eibl.tech>" LABEL maintainer="me0nline <me0nline@eibl.tech>"
LABEL description="LOGAR CI/CD & Binary Release Cross-Compilation Runner (based on codechecker-runner)" LABEL description="LOGAR Standalone CI/CD & Binary Release Runner"
USER root
ENV DEBIAN_FRONTEND=noninteractive \ ENV DEBIAN_FRONTEND=noninteractive \
PYTHONUNBUFFERED=1 PYTHONUNBUFFERED=1 \
LANG=C.UTF-8 \
LC_ALL=C.UTF-8
# Install NSIS compiler and any missing Python dev packages onto the existing runner image # Install system utilities, Node.js (for Act / Actions), build tools, NSIS, and Python
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
git \
tar \
gzip \
zip \
unzip \
build-essential \
gcc \
make \
nodejs \
npm \
nsis \ nsis \
nsis-common \ nsis-common \
nsis-pluginapi \ nsis-pluginapi \
python3 \
python3-dev \ python3-dev \
libpython3-dev \ libpython3-dev \
python3-pip \
python3-venv \
libffi-dev \
libssl-dev \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install PyInstaller and LOGAR compilation tooling # Install PyInstaller and LOGAR packaging requirements
RUN pip3 install --no-cache-dir --break-system-packages \ RUN pip3 install --no-cache-dir \
pyinstaller \ pyinstaller \
distlib \ distlib \
cryptography \ cryptography \
@@ -28,4 +47,8 @@ RUN pip3 install --no-cache-dir --break-system-packages \
fastapi \ fastapi \
uvicorn \ uvicorn \
pydantic \ pydantic \
requests 2>/dev/null || pip install --no-cache-dir pyinstaller distlib cryptography pefile cffi pgpy fastapi uvicorn pydantic requests requests
WORKDIR /workspace
CMD ["/bin/bash"]