php-fpm: https→http 'cause apt-cacher-ng

This commit is contained in:
Starbeamrainbowlabs 2023-12-06 21:17:17 +00:00
parent da1066193d
commit fe82680b1a
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -7,7 +7,8 @@ RUN install_packages lsb-release ca-certificates curl
RUN curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg RUN curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' # Note that this is HTTP and not HTTPS because of apt-cacher-ng
RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] http://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
FROM ${REPO_LOCATION}minideb FROM ${REPO_LOCATION}minideb