Prints git commit

This commit is contained in:
Aaron Louie 2020-05-07 16:23:34 -04:00
parent 90197c28cd
commit 92089ba56d
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
FROM postgres
ARG GIT_COMMIT=""
CMD echo 'echo "git commit = ${GIT_COMMIT}"' >> ./initdb.sh
CMD echo 'echo "git commit = $GIT_COMMIT"' >> ./initdb.sh
COPY ./initdb.sh /docker-entrypoint-initdb.d/initdb.sh
EXPOSE 5432