From 12db88361480ac60ff8ebe29a13aa1c5f67c94c1 Mon Sep 17 00:00:00 2001 From: Alexandre Quercia Date: Wed, 26 Apr 2023 22:22:04 +0200 Subject: [PATCH] Fix apt sources file for jessie distribution --- .docker/php53/Dockerfile | 7 +++++++ .docker/php54/Dockerfile | 7 +++++++ .docker/php55_71/Dockerfile | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/.docker/php53/Dockerfile b/.docker/php53/Dockerfile index 514c889d5..c6b401bef 100644 --- a/.docker/php53/Dockerfile +++ b/.docker/php53/Dockerfile @@ -2,6 +2,13 @@ FROM buildpack-deps:jessie ENV PHP_VERSION 5.3.29 +RUN set -eux; \ + codename='jessie'; \ + { \ + echo "deb http://archive.debian.org/debian ${codename} main"; \ + echo "deb http://archive.debian.org/debian-security ${codename}/updates main"; \ + } > /etc/apt/sources.list; + # php 5.3 needs older autoconf RUN set -eux; \ \ diff --git a/.docker/php54/Dockerfile b/.docker/php54/Dockerfile index 57c8ce526..3b4d0b3bb 100644 --- a/.docker/php54/Dockerfile +++ b/.docker/php54/Dockerfile @@ -1,5 +1,12 @@ FROM php:5.4-cli +RUN set -eux; \ + codename='jessie'; \ + { \ + echo "deb http://archive.debian.org/debian ${codename} main"; \ + echo "deb http://archive.debian.org/debian-security ${codename}/updates main"; \ + } > /etc/apt/sources.list; + RUN docker-php-ext-install pdo RUN docker-php-ext-install pdo_mysql RUN docker-php-ext-install mbstring diff --git a/.docker/php55_71/Dockerfile b/.docker/php55_71/Dockerfile index b65ca92a3..1aee036de 100644 --- a/.docker/php55_71/Dockerfile +++ b/.docker/php55_71/Dockerfile @@ -1,6 +1,13 @@ ARG PHP_TAG FROM php:${PHP_TAG} +RUN set -eux; \ + codename='jessie'; \ + { \ + echo "deb http://archive.debian.org/debian ${codename} main"; \ + echo "deb http://archive.debian.org/debian-security ${codename}/updates main"; \ + } > /etc/apt/sources.list; + RUN docker-php-ext-install pdo RUN docker-php-ext-install pdo_mysql RUN docker-php-ext-install mbstring