Explorar o código

fix apt source list on php70 docker

Olivier Massot %!s(int64=2) %!d(string=hai) anos
pai
achega
ce8bdedc71
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docker/php/Dockerfile

+ 1 - 1
docker/php/Dockerfile

@@ -4,7 +4,7 @@ FROM php:7.0.33-fpm
 ARG COMPOSER_HASH
 ARG OS
 
-RUN sed 's/main$/main universe/' -i /etc/apt/sources.list; \
+RUN echo deb http://archive.debian.org/debian stretch main universe > /etc/apt/sources.list; \
     apt-get update; \
     ### WKHTMLTOPDF
     if [ "x$OS" = "MAC" ] ; then apt-get install -y --no-install-recommends openssh-server build-essential xorg iputils-ping libssl-dev libxrender-dev wget gdebi ca-certificates wget xz-utils libxrender1 libxt6 libxtst6 fontconfig zlib1g-dev libpng-dev libicu-dev g++; \