diff --git a/db/Dockerfile b/db/Dockerfile index bcf40e6f..f0fe8605 100644 --- a/db/Dockerfile +++ b/db/Dockerfile @@ -3,7 +3,8 @@ MAINTAINER Piero Toffanin ENV POSTGIS_MAJOR 2.3 -RUN echo "deb http://deb.debian.org/debian "$(lsb_release --codename | cut -f2)"-backports main" >> /etc/apt/sources.list \ +RUN . /etc/os-release \ + && echo "deb http://deb.debian.org/debian "$VERSION_CODENAME"-backports main" >> /etc/apt/sources.list \ && apt-get update \ && apt-get install -y --no-install-recommends \ postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \ diff --git a/requirements.txt b/requirements.txt index b1a7366b..d7f2c767 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,7 +32,7 @@ openapi-codec==1.1.7 packaging==16.8 piexif==1.0.13 pilkit==2.0 -Pillow==4.3.0 +Pillow==6.2.0 pip-autoremove==0.9.0 psycopg2==2.7.4 psycopg2-binary==2.7.4