You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 20, 2024. It is now read-only.
I would like to revisit the suggestion in #11 for a separate "download only" mode, specifically for use in Dockerfiles.
Currently my team is doing something like this:
RUN npx flyway -c flyway.js info; exit 0
The exit 0 is needed because there is no database connectivity at image build time, which causes the info command to fail. We need this command to succeed in order for the Docker build to continue. The big issue with this workaround is that we have no way of knowing if the download itself fails.
I would like to be able to have something like this instead, whereby omitting the command still executes the download:
RUN npx flyway -c flyway.js
This way, if the download fails, the Docker build is aborted.