Skip to content
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

Expose BUNDLE_WITHOUT as ARG to enable building test and production images #41

Closed
tmaier opened this issue May 24, 2023 · 1 comment
Closed

Comments

@tmaier
Copy link
Contributor

tmaier commented May 24, 2023

I think the old fly.io images also allowed this.

This allows me to build the image with BUNDLE_WITHOUT=development
This would be the image to use in the CI pipeline for testing.
After all tests were successful, one would build the production image with BUNDLE_WITHOUT=development:test.

ARG BUNDLE_WITHOUT=development:test
ENV BUNDLE_WITHOUT ${BUNDLE_WITHOUT}
@tmaier
Copy link
Contributor Author

tmaier commented Jun 23, 2023

I see now that there is the option --ci, which does exactly this.

@tmaier tmaier closed this as completed Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant