From 5ccac3cdf490b84a23dc3d8cbd902257aa19a1cc Mon Sep 17 00:00:00 2001 From: root Date: Sat, 17 Feb 2018 17:10:43 -0800 Subject: [PATCH] Fixed issue with web-nginx-mysql image --- web-nginx-mysql/ubuntu/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/web-nginx-mysql/ubuntu/Dockerfile b/web-nginx-mysql/ubuntu/Dockerfile index 1c2ff133b..70a7f8de6 100644 --- a/web-nginx-mysql/ubuntu/Dockerfile +++ b/web-nginx-mysql/ubuntu/Dockerfile @@ -36,6 +36,7 @@ RUN locale-gen $LC_ALL && \ apt-get ${APT_FLAGS_COMMON} update && \ apt-get ${APT_FLAGS_COMMON} install \ wget 1>/dev/null && \ + DISTRIB_CODENAME=$(/bin/bash -c 'source /etc/lsb-release && echo $DISTRIB_CODENAME') && \ wget -q http://nginx.org/keys/nginx_signing.key -O- | apt-key add - && \ echo "deb http://nginx.org/packages/ubuntu/ $DISTRIB_CODENAME nginx" >> /etc/apt/sources.list.d/nginx.list && \ apt-get ${APT_FLAGS_COMMON} update && \