File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ FROM php:7.3-fpm-bullseye
22
33ARG TIME_ZONE=Pacific/Auckland
44
5+ # apt does not retry failed downloads, so a single timed out .deb from the Debian CDN fails
6+ # the whole build. Older suites go cold in the CDN more often, but any suite can time out.
7+ RUN echo 'Acquire::Retries "5";' > /etc/apt/apt.conf.d/80-retries
8+
59RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
610 apt-transport-https \
711 libgd3 \
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ FROM php:7.4-fpm-bullseye
22
33ARG TIME_ZONE=Pacific/Auckland
44
5+ # apt does not retry failed downloads, so a single timed out .deb from the Debian CDN fails
6+ # the whole build. Older suites go cold in the CDN more often, but any suite can time out.
7+ RUN echo 'Acquire::Retries "5";' > /etc/apt/apt.conf.d/80-retries
8+
59RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
610 apt-transport-https \
711 libfreetype6-dev \
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ FROM php:8.0-fpm-bullseye
22
33ARG TIME_ZONE=Pacific/Auckland
44
5+ # apt does not retry failed downloads, so a single timed out .deb from the Debian CDN fails
6+ # the whole build. Older suites go cold in the CDN more often, but any suite can time out.
7+ RUN echo 'Acquire::Retries "5";' > /etc/apt/apt.conf.d/80-retries
8+
59RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
610 apt-transport-https \
711 libfreetype6-dev \
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ FROM php:8.1-fpm-bookworm
22
33ARG TIME_ZONE=Pacific/Auckland
44
5+ # apt does not retry failed downloads, so a single timed out .deb from the Debian CDN fails
6+ # the whole build. Older suites go cold in the CDN more often, but any suite can time out.
7+ RUN echo 'Acquire::Retries "5";' > /etc/apt/apt.conf.d/80-retries
8+
59RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
610 apt-transport-https \
711 libfreetype6-dev \
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ FROM php:8.2-fpm-bookworm
22
33ARG TIME_ZONE=Pacific/Auckland
44
5+ # apt does not retry failed downloads, so a single timed out .deb from the Debian CDN fails
6+ # the whole build. Older suites go cold in the CDN more often, but any suite can time out.
7+ RUN echo 'Acquire::Retries "5";' > /etc/apt/apt.conf.d/80-retries
8+
59RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
610 apt-transport-https \
711 libfreetype6-dev \
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ FROM php:8.3-fpm-bookworm
22
33ARG TIME_ZONE=Pacific/Auckland
44
5+ # apt does not retry failed downloads, so a single timed out .deb from the Debian CDN fails
6+ # the whole build. Older suites go cold in the CDN more often, but any suite can time out.
7+ RUN echo 'Acquire::Retries "5";' > /etc/apt/apt.conf.d/80-retries
8+
59RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
610 apt-transport-https \
711 libfreetype6-dev \
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ FROM php:8.4-fpm-bookworm
22
33ARG TIME_ZONE=Pacific/Auckland
44
5+ # apt does not retry failed downloads, so a single timed out .deb from the Debian CDN fails
6+ # the whole build. Older suites go cold in the CDN more often, but any suite can time out.
7+ RUN echo 'Acquire::Retries "5";' > /etc/apt/apt.conf.d/80-retries
8+
59RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
610 apt-transport-https \
711 libfreetype6-dev \
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ FROM php:8.5.2-fpm-bookworm
22
33ARG TIME_ZONE=Pacific/Auckland
44
5+ # apt does not retry failed downloads, so a single timed out .deb from the Debian CDN fails
6+ # the whole build. Older suites go cold in the CDN more often, but any suite can time out.
7+ RUN echo 'Acquire::Retries "5";' > /etc/apt/apt.conf.d/80-retries
8+
59RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
610 apt-transport-https \
711 libfreetype6-dev \
You can’t perform that action at this time.
0 commit comments