cr-connect-db/Dockerfile

7 lines
221 B
Docker
Raw Normal View History

2020-03-09 14:57:15 -04:00
FROM postgres
ARG GIT_COMMIT=unspecified
LABEL git_commit=$GIT_COMMIT
2020-03-09 15:54:34 -04:00
COPY ./initdb.sh /docker-entrypoint-initdb.d/initdb.sh
CMD echo 'echo "git commit = $GIT_COMMIT"' >> /docker-entrypoint-initdb.d/initdb.sh
2020-03-09 14:57:15 -04:00
EXPOSE 5432