Merge pull request #7 from sartography/chore/github_branches_to_docker_tags

Prints git commit
This commit is contained in:
Aaron Louie 2020-05-07 16:26:37 -04:00 committed by GitHub
commit cd34133e55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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