comparison postgres/Dockerfile @ 163:daf91a3bbee5 production v1.2.0

flow: Merged <release> 'v1.2.0' to <master> ('production').
author smith@nwoca.org
date Tue, 15 Aug 2017 21:59:23 +0100
parents 11fb5ba7f55b
children b0b52c426f16
comparison
equal deleted inserted replaced
141:06611703da29 163:daf91a3bbee5
1 # 1 #
2 # Docker file to create postgres image for ssdt applications 2 # Docker file to create postgres image for ssdt applications
3 3
4 FROM postgres:9.4.5 4 FROM postgres:9.6.3
5 5
6 MAINTAINER Dave Smith smith@nwoca.org 6 MAINTAINER Dave Smith smith@nwoca.org
7 7
8 ENV DB_NAME=database \ 8 ENV DB_NAME=database \
9 DB_USER=dbuser \ 9 DB_USER=dbuser \
19 19
20 ENV TZ=America/New_York 20 ENV TZ=America/New_York
21 21
22 RUN echo $TZ > /etc/timezone \ 22 RUN echo $TZ > /etc/timezone \
23 && dpkg-reconfigure --frontend noninteractive tzdata 23 && dpkg-reconfigure --frontend noninteractive tzdata
24
25 COPY ssdt-entrypoint.sh /usr/local/bin/
26
27 RUN chmod 755 /usr/local/bin/ssdt-entrypoint.sh
28
29 LABEL "io.ssdt.type"="db"
30
31 ENTRYPOINT ["ssdt-entrypoint.sh"]
32
33 CMD ["postgres"]
34