mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-10 23:12:40 +01:00
@@ -175,7 +175,7 @@ STOPSIGNAL SIGTERM
|
|||||||
|
|
||||||
EXPOSE 80 443
|
EXPOSE 80 443
|
||||||
|
|
||||||
ENV TELIZE_VERSION master
|
ENV TELIZE_VERSION 66063c6c6e5bbbafcf493c5bc7c825f0a6e1b03d
|
||||||
|
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
@@ -186,9 +186,10 @@ RUN set -x \
|
|||||||
&& curl -sSL "http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz" | tar -xzf - --strip-components 1 -C /usr/share/GeoIP \
|
&& curl -sSL "http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz" | tar -xzf - --strip-components 1 -C /usr/share/GeoIP \
|
||||||
&& curl -sSL "http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz" | tar -xzf - --strip-components 1 -C /usr/share/GeoIP \
|
&& curl -sSL "http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz" | tar -xzf - --strip-components 1 -C /usr/share/GeoIP \
|
||||||
&& curl -sSL "http://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.gz" | tar -xzf - --strip-components 1 -C /usr/share/GeoIP \
|
&& curl -sSL "http://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.gz" | tar -xzf - --strip-components 1 -C /usr/share/GeoIP \
|
||||||
&& git clone --depth 1 --branch "${TELIZE_VERSION}" https://github.com/fcambus/telize.git /usr/src/telize \
|
&& git clone https://github.com/fcambus/telize.git /usr/src/telize \
|
||||||
&& ( \
|
&& ( \
|
||||||
cd /usr/src/telize \
|
cd /usr/src/telize \
|
||||||
|
&& git checkout "$TELIZE_VERSION" \
|
||||||
&& cp *.conf /etc/nginx/ \
|
&& cp *.conf /etc/nginx/ \
|
||||||
) \
|
) \
|
||||||
&& rm -rf /usr/src/telize \
|
&& rm -rf /usr/src/telize \
|
||||||
|
|||||||
Reference in New Issue
Block a user