From e799bf3ec5b06cab318bc880a3f2032cda4d52dd Mon Sep 17 00:00:00 2001 From: Carlos H Brandt <carloshenriquebrandt@gmail.com> Date: Mon, 15 Apr 2019 23:26:19 +0200 Subject: [PATCH] Making a snapshot for older version 0.9.6 --- dockerfile/Dockerfile | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/dockerfile/Dockerfile b/dockerfile/Dockerfile index 5cedf5b..97e0fec 100644 --- a/dockerfile/Dockerfile +++ b/dockerfile/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stretch +FROM debian:jessie LABEL Description=DaCHS\ is\ a\ publishing\ infrastructure\ for\ the\ Virtual\ Observatory. \ Author=Markus\ Demleitner \ @@ -7,21 +7,23 @@ LABEL Description=DaCHS\ is\ a\ publishing\ infrastructure\ for\ the\ Virtual\ O MAINTAINER "Carlos Brandt <carloshenriquebrandt at gmail>" -RUN DEBIAN_FRONTEND='noninteractive' && \ - apt-get update && \ - apt-get install -y sudo wget vim locales git gnupg && \ +RUN DEBIAN_FRONTEND='noninteractive' && \ + apt-get update && \ + apt-get install -y sudo wget vim locales git gnupg && \ apt-get clean -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 RUN echo LANG="$LANG" > /etc/default/locale -RUN echo 'deb http://vo.ari.uni-heidelberg.de/debian release main' \ +ENV PG_VERSION=9.4 + +RUN echo 'deb http://vo.ari.uni-heidelberg.de/debian stable main' \ > /etc/apt/sources.list.d/gavo.list && \ wget -qO - http://docs.g-vo.org/archive-key.asc | apt-key add - -RUN DEBIAN_FRONTEND='noninteractive' && \ - apt-get update && \ - apt-get install -y python-gavodachs postgresql-9.6-q3c && \ +RUN DEBIAN_FRONTEND='noninteractive' && \ + apt-get update && \ + apt-get install -y python-gavodachs postgresql-${PG_VERSION}-q3c && \ apt-get clean ENV GAVO_ROOT="/var/gavo" \ -- GitLab