fix telize

Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
Jess Frazelle
2020-05-15 09:27:58 -07:00
parent 72e15e12d8
commit 3c7a823307
2 changed files with 4 additions and 47 deletions

View File

@@ -176,6 +176,7 @@ STOPSIGNAL SIGTERM
EXPOSE 80 443
ENV TELIZE_VERSION 66063c6c6e5bbbafcf493c5bc7c825f0a6e1b03d
ENV LICENSE_KEY lgNvGyhnUKpa5PJi
RUN set -x \
&& apk add --no-cache --virtual .build-deps \
@@ -183,9 +184,9 @@ RUN set -x \
git \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /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-ASN.tar.gz" | tar -xzf - --strip-components 1 -C /usr/share/GeoIP \
&& curl -sSL "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=${LICENSE_KEY}&suffix=tar.gz" | tar -xzf - --strip-components 1 -C /usr/share/GeoIP \
&& curl -sSL "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=${LICENSE_KEY}&suffix=tar.gz" | tar -xzf - --strip-components 1 -C /usr/share/GeoIP \
&& curl -sSL "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-ASN&license_key=${LICENSE_KEY}&suffix=tar.gz" | tar -xzf - --strip-components 1 -C /usr/share/GeoIP \
&& git clone https://github.com/fcambus/telize.git /usr/src/telize \
&& ( \
cd /usr/src/telize \