feat: fw update gitea to use a docker image with puppeteer, webp and avif deps
This commit is contained in:
47
hosts/fw/modules/gitea-runner.Dockerfile
Normal file
47
hosts/fw/modules/gitea-runner.Dockerfile
Normal file
@@ -0,0 +1,47 @@
|
||||
FROM shivammathur/node:latest
|
||||
|
||||
# Install Chrome dependencies for Puppeteer
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
fonts-liberation \
|
||||
libappindicator3-1 \
|
||||
libasound2t64 \
|
||||
libatk-bridge2.0-0 \
|
||||
libatk1.0-0 \
|
||||
libc6 \
|
||||
libcairo2 \
|
||||
libcups2 \
|
||||
libdbus-1-3 \
|
||||
libexpat1 \
|
||||
libfontconfig1 \
|
||||
libgbm1 \
|
||||
libgcc-s1 \
|
||||
libglib2.0-0 \
|
||||
libgtk-3-0 \
|
||||
libnspr4 \
|
||||
libnss3 \
|
||||
libpango-1.0-0 \
|
||||
libpangocairo-1.0-0 \
|
||||
libstdc++6 \
|
||||
libx11-6 \
|
||||
libx11-xcb1 \
|
||||
libxcb1 \
|
||||
libxcomposite1 \
|
||||
libxcursor1 \
|
||||
libxdamage1 \
|
||||
libxext6 \
|
||||
libxfixes3 \
|
||||
libxi6 \
|
||||
libxrandr2 \
|
||||
libxrender1 \
|
||||
libxss1 \
|
||||
libxtst6 \
|
||||
lsb-release \
|
||||
wget \
|
||||
xdg-utils \
|
||||
webp \
|
||||
libavif-bin \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Verify installations
|
||||
RUN cwebp -version && avifenc --version
|
||||
Reference in New Issue
Block a user