We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Dockerfile explicitly specifies the production profile and corresponding application config files:
production
FAIRDataPoint/Dockerfile.build
Lines 40 to 42 in 75013ff
This makes life difficult if we want to run the container with a different profile, as in the following:
It would be more convenient to allow specifying the profile using environment variables.
While we're at it, perhaps we could introduce some optimizations and security improvements, as suggested in the spring-boot docs etc.
profiles using env variables (also see externalized configuration)
don't run as root
efficient container image (probably requires github actions cache to make a difference)
uses: docker/build-push-action@v6 with: ... cache-from: type=gha cache-to: type=gha,mode=max
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The Dockerfile explicitly specifies the
production
profile and corresponding application config files:FAIRDataPoint/Dockerfile.build
Lines 40 to 42 in 75013ff
This makes life difficult if we want to run the container with a different profile, as in the following:
It would be more convenient to allow specifying the profile using environment variables.
While we're at it, perhaps we could introduce some optimizations and security improvements, as suggested in the spring-boot docs etc.
profiles using env variables (also see externalized configuration)
don't run as root
efficient container image (probably requires github actions cache to make a difference)
The text was updated successfully, but these errors were encountered: