feat: adjusted the gitea runner dockerfile to include chrome for puppeteer

This commit is contained in:
2025-11-01 09:43:27 +01:00
parent cfdb8d8474
commit 819bfc1531
2 changed files with 8 additions and 1 deletions

View File

@@ -41,7 +41,14 @@ RUN apt-get update && apt-get install -y \
xdg-utils \
webp \
libavif-bin \
chromium \
&& rm -rf /var/lib/apt/lists/*
RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list && \
apt-get update && \
apt-get install -y google-chrome-stable && \
rm -rf /var/lib/apt/lists/*
# Verify installations
RUN cwebp -version && avifenc --version

View File

@@ -56,7 +56,7 @@ in {
tokenFile = "/run/secrets/gitea-runner-token";
labels = [
# "ubuntu-latest:docker://shivammathur/node:latest"
"ubuntu-latest:docker://git.cloonar.com/infrastructure/gitea-runner:latest"
"ubuntu-latest:docker://git.cloonar.com/infrastructure/gitea-runner:1.0.0"
];
settings = {
container = {