Merge pull request #7 from sartography/chore/github_branches_to_docker_tags
Prints git commit
This commit is contained in:
commit
cd34133e55
|
@ -1,5 +1,5 @@
|
||||||
FROM postgres
|
FROM postgres
|
||||||
ARG GIT_COMMIT=""
|
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
|
COPY ./initdb.sh /docker-entrypoint-initdb.d/initdb.sh
|
||||||
EXPOSE 5432
|
EXPOSE 5432
|
||||||
|
|
Loading…
Reference in New Issue