-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending RUN ["docker-entrypoint.sh", "postgres", "--version"] output to the console during the build #718
Comments
The output no longer appears because Lines 252 to 267 in a6d35fb
See #496 -- this is now possible to accomplish directly without hacks/workarounds like |
Brilliant, that's exactly what I was looking for. Thank you. |
…se. See docker-library/postgres#718 for more details.
* Initial revision * Updated docker image to user PostgreSQL 12 and Java 11. * Made Dockerfile compatible with previous versions of the base image. e.g. postgres:1X-alpine * Added link to question about sending the output of the Docker build to the console. * Removed --version hack from the RUN command used to create the database. See docker-library/postgres#718 for more details. * Added custom entry point. * Updated flyway configuration files and changed entry point to prevent silent migration failures.
Apologies if this question has been asked before. Up until version
10.10
you could see the output of the command in a Docker file that inherited from thepostgres:10.10-alpine
image. E.g. this Dockerfile (cut for brevity):would output something like this:
Starting at
10.11
the output no longer appears in the console during the build. . E.g. this Dockerfile (again cut for brevity):Generates this output instead:
Is there any way of getting the earlier
10.10
entry point output behaviour in later versions of the Docker image?The text was updated successfully, but these errors were encountered: