update telie

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2017-02-26 14:34:54 -08:00
parent 62ab9e37a8
commit 3cd592d940
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -1,12 +1,6 @@
FROM debian:jessie
FROM debian:stretch
MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \
gnupg \
--no-install-recommends \
&& apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 \
&& echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" >> /etc/apt/sources.list
RUN apt-get update && apt-get install -y \
ca-certificates \
lua-cjson \
@ -40,8 +34,10 @@ RUN buildDeps=' \
&& curl -sSL http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz -o /usr/share/GeoIP/GeoIPASNum.dat.gz \
&& gunzip /usr/share/GeoIP/*gz \
&& git clone --depth 1 --branch "${TELIZE_VERSION}" https://github.com/fcambus/telize.git /usr/src/telize \
&& cd /usr/src/telize \
&& cp timezone*.conf /etc/nginx/ \
&& ( \
cd /usr/src/telize \
&& cp timezone*.conf /etc/nginx/ \
) \
&& rm -rf /usr/src/telize \
&& apt-get purge -y --auto-remove $buildDeps