Skip to content

Commit 7abad4d

Browse files
authored
Update php74 Dockerfile
Add Debian archive repositories for Buster
1 parent b77649e commit 7abad4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/php74/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ FROM php:7.4.2-apache-buster
55

66
ARG DEBIAN_FRONTEND=noninteractive
77

8+
RUN sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list && \
9+
sed -i 's|http://security.debian.org/debian-security|http://archive.debian.org/debian-security|g' /etc/apt/sources.list && \
10+
echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-valid-until
11+
812
# Update
913
RUN apt-get -y update --fix-missing && \
1014
apt-get upgrade -y && \

0 commit comments

Comments
 (0)