feat: adjusted the gitea runner dockerfile to include chrome for puppeteer
This commit is contained in:
@@ -41,7 +41,14 @@ RUN apt-get update && apt-get install -y \
|
|||||||
xdg-utils \
|
xdg-utils \
|
||||||
webp \
|
webp \
|
||||||
libavif-bin \
|
libavif-bin \
|
||||||
|
chromium \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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
|
# Verify installations
|
||||||
RUN cwebp -version && avifenc --version
|
RUN cwebp -version && avifenc --version
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ in {
|
|||||||
tokenFile = "/run/secrets/gitea-runner-token";
|
tokenFile = "/run/secrets/gitea-runner-token";
|
||||||
labels = [
|
labels = [
|
||||||
# "ubuntu-latest:docker://shivammathur/node:latest"
|
# "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 = {
|
settings = {
|
||||||
container = {
|
container = {
|
||||||
|
|||||||
Reference in New Issue
Block a user