Fix builds & add better logging

This commit is contained in:
R. Miles McCain
2020-04-14 16:41:00 -04:00
parent 00ef610a65
commit 579c162365
2 changed files with 38 additions and 0 deletions

View File

@@ -2,6 +2,9 @@ FROM python:3
WORKDIR /usr/src/shynet
RUN apt update
RUN apt install -y gettext
# URL from https://github.com/shlinkio/shlink/issues/596 :)
RUN curl "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-ASN&license_key=G4Lm0C60yJsnkdPi&suffix=tar.gz" | tar -xvz -C /tmp
RUN curl "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=G4Lm0C60yJsnkdPi&suffix=tar.gz" | tar -xvz -C /tmp