From 6781f1a6bd1b3b4f574bb3a23f5bc77a6ef49d5e Mon Sep 17 00:00:00 2001 From: Alexandre Quercia Date: Wed, 26 Apr 2023 23:08:16 +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 9998612b5..6dc188f6f 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 91baa8c85..76179c2e0 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 7c901b83a..de671b6e3 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