Install lsb-release

pull/742/head
Piero Toffanin 2019-10-22 19:09:14 -04:00
rodzic 5e0d00e976
commit 7a482950be
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -3,7 +3,8 @@ MAINTAINER Piero Toffanin <pt@masseranolabs.com>
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 apt-get install -y lsb-release &&
echo "deb http://deb.debian.org/debian "$(lsb_release --codename | cut -f2)"-backports main" >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \