Skip to content

Commit f633aa9

Browse files
feat: fix issue with in apt-get install failed
1 parent 93c9e5f commit f633aa9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

php/5.6/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ COPY ./data/supervisord.conf /etc/supervisord.conf
99
RUN echo "deb http://archive.debian.org/debian/ stretch main contrib non-free" > /etc/apt/sources.list && \
1010
echo "deb http://archive.debian.org/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list
1111

12-
RUN apt-get update && \
12+
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests -o APT::Get::AllowUnauthenticated=true debian-archive-keyring && \
13+
apt-get update && \
1314
apt-get install -y supervisor iputils-ping && \
1415
apt-get clean && \
1516
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)