Compare commits

..

8 Commits

Author SHA1 Message Date
912f1c2a70 Fix accidental double ampersand
All checks were successful
release / release (push) Successful in 14m15s
2025-04-18 15:04:57 +02:00
88282d5b99 Update sonar-scanner
Some checks failed
release / release (push) Failing after 9m41s
2025-04-18 14:34:33 +02:00
f379708858 Add qemu-user 2025-04-18 14:33:32 +02:00
93ddda0363 Use ubuntu 24.04
All checks were successful
release / release (push) Successful in 12m53s
2025-02-18 14:56:52 +01:00
39989c5954 Stop test script on error 2025-02-18 14:56:38 +01:00
b442330a82 Add readme
All checks were successful
release / release (push) Successful in 12m31s
2025-02-18 14:40:13 +01:00
7cb64fa76f Add go 2025-02-18 14:40:01 +01:00
16f4b0da29 Bump sonar scanner to 6.2.1 2024-10-07 09:33:10 +02:00
4 changed files with 40 additions and 27 deletions

View File

@@ -35,7 +35,7 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push default 22.04
- name: Build and push default 24.04
uses: docker/build-push-action@v6
with:
context: .
@@ -45,11 +45,11 @@ jobs:
push: true
no-cache: true
build-args: |
BASE_IMAGE_TAG=ubuntu-22.04
BASE_IMAGE_TAG=ubuntu-24.04
IMAGE_VERSION=${{ steps.meta.outputs.IMAGE_VERSION }}
IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }}
IMAGE_REVISION=${{ steps.meta.outputs.IMAGE_REVISION }}
tags: |
seeseemelk/runner-images:ubuntu-22.04
seeseemelk/runner-images:ubuntu-22.04-${{ steps.meta.outputs.IMAGE_VERSION }}
seeseemelk/runner-images:ubuntu-24.04
seeseemelk/runner-images:ubuntu-24.04-${{ steps.meta.outputs.IMAGE_VERSION }}
seeseemelk/runner-images:ubuntu-latest

View File

@@ -1,4 +1,4 @@
ARG BASE_IMAGE_TAG=ubuntu-22.04
ARG BASE_IMAGE_TAG=ubuntu-24.04
FROM gitea/runner-images:${BASE_IMAGE_TAG}
@@ -7,33 +7,33 @@ ARG IMAGE_VERSION
ARG IMAGE_REVISION
LABEL org.opencontainers.image.created="${IMAGE_CREATED}" \
org.opencontainers.image.authors="Seeseemelk" \
org.opencontainers.image.url="https://gitea.seeseepuff.be/seeseemelk/runner-images" \
org.opencontainers.image.documentation="https://gitea.seeseepuff.be/seeseemelk/runner-images/src/branch/main/README.md" \
org.opencontainers.image.source="https://gitea.seeseepuff.be/seeseemelk/runner-images" \
org.opencontainers.image.version="${IMAGE_VERSION}" \
org.opencontainers.image.revision="${IMAGE_REVISION}" \
org.opencontainers.image.vendor="Seeseemelk" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.title="Gitea Actions runner images customised by Seeseemelk" \
org.opencontainers.image.description="Docker images used by act_runner to run workflows."
org.opencontainers.image.authors="Seeseemelk" \
org.opencontainers.image.url="https://gitea.seeseepuff.be/seeseemelk/runner-images" \
org.opencontainers.image.documentation="https://gitea.seeseepuff.be/seeseemelk/runner-images/src/branch/main/README.md" \
org.opencontainers.image.source="https://gitea.seeseepuff.be/seeseemelk/runner-images" \
org.opencontainers.image.version="${IMAGE_VERSION}" \
org.opencontainers.image.revision="${IMAGE_REVISION}" \
org.opencontainers.image.vendor="Seeseemelk" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.title="Gitea Actions runner images customised by Seeseemelk" \
org.opencontainers.image.description="Docker images used by act_runner to run workflows."
RUN apt-get update && \
apt-get -y install gnupg2 openjdk-21-jre-headless
RUN wget -O sonar.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.1.0.4477.zip && \
RUN wget -O sonar.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-7.1.0.4889.zip && \
unzip sonar.zip && \
mkdir /sonar && \
mv sonar-scanner-*/* /sonar && \
rm -r sonar-scanner-* sonar.zip
ENV PATH="$PATH:/sonar/bin"
RUN pip3 install makelove
RUN apt-get -y install luarocks && \
RUN apt-get update && \
apt-get -y install \
gnupg2 openjdk-21-jre-headless \
luarocks \
cmake \
libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev \
qemu-user qemu-user-binfmt \
golang-1.23 && \
pip3 install --break-system-packages makelove && \
luarocks install tl
RUN apt-get -y install \
cmake \
libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev
ENV PATH="$PATH:/sonar/bin"
ENV PATH="/usr/lib/go-1.23/bin/:$PATH"

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
# Runner Images
This contains the docker runner image used by the Gitea Action runner.
## Updating the runner
The runner will run from a cached version of the image.
In order to use the new version, one has to obtain a shell in the runner container, and pull the image again.
```sh
ssh pi
docker exec -it homeserver-gitea-runner-1 /bin/sh
docker pull seeseemelk/runner-images:ubuntu-latest
```

View File

@@ -1,3 +1,4 @@
set -e
docker build -t runnerimage .
docker run -it --rm runnerimage
docker image rm runnerimage