Many dependencies are installed manually within the Dockerfiles, where Renovate cannot determine the version numbers by default. However, through custom matching, the corresponding data sources can be invoked, and the version number replaced via regex.
44 lines
1.3 KiB
Docker
44 lines
1.3 KiB
Docker
FROM nextcloud:28.0.6-apache
|
|
|
|
# renovate: datasource=github-releases depName=yt-dlp packageName=yt-dlp/yt-dlp versioning=loose
|
|
ARG YTDLP_VERSION=2024.05.27
|
|
# Debian ships node.js v18, make sure that the pageres version supports that
|
|
# renovate: datasource=npm packageName=pageres-cli
|
|
ARG PAGERES_VERSION=8.0.0
|
|
|
|
RUN set -ex; \
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends --no-install-suggests \
|
|
aria2 \
|
|
cifs-utils \
|
|
clamav \
|
|
ffmpeg \
|
|
libnss3 \
|
|
libbz2-dev \
|
|
nodejs \
|
|
npm \
|
|
smbclient \
|
|
p7zip \
|
|
p7zip-full \
|
|
python3-pip \
|
|
unzip \
|
|
wget \
|
|
; \
|
|
docker-php-ext-install bz2; \
|
|
npm install --global pageres-cli@${PAGERES_VERSION} puppeteer; \
|
|
npx puppeteer browsers install chrome; \
|
|
curl -L -o /usr/local/bin/youtube-dl https://github.com/yt-dlp/yt-dlp/releases/download/${YTDLP_VERSION}/yt-dlp; \
|
|
chmod +rx /usr/local/bin/youtube-dl; \
|
|
apt-get remove -y --auto-remove ${PHPIZE_DEPS}; \
|
|
rm -rf \
|
|
/var/lib/apt/lists/* \
|
|
/var/log/*/.log /var/log/apt/* \
|
|
/usr/src/php.tar* \
|
|
/usr/share/man/* \
|
|
/usr/share/doc/* \
|
|
/usr/share/doc-base/* \
|
|
/usr/local/php/man/* \
|
|
/root/.cache \
|
|
/root/.npm
|
|
|
|
COPY ./php-pgsql.ini /etc/php8/conf.d/pgsql.ini
|