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

Improved Docker build and docker images #1488

Merged

Conversation

avgustinmm
Copy link
Contributor

  • Using upacked Spring layers for faster boot
  • Added option to pass JAVA_OPT to modify the environment variables in both flavours
  • Build support for different hawkbit apps - could be used in future if hawkBit is split in multiple micro-services
  • Removed templates and replacing with parameterized (via build ARGs) docker builds

@hawkbit-bot
Copy link

Can one of the admins verify this patch?

@avgustinmm avgustinmm force-pushed the feature/imporeved_docker_build branch 2 times, most recently from 3447c6f to d87293b Compare November 27, 2023 12:15
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not leave the shell script ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it is used to replace some values in templates
no templates are completely drop out. Versions are to be directly passed using build args or replaced in docker files (as defaults)

* Using upacked Spring layers for faster boot
* Added option to pass JAVA_OPT to modify the environment variables in both flavours
* Build support for different hawkbit apps - could be used in future if hawkBit is split in multiple micro-services
* Removed templates and replacing with parameterized (via build ARGs) docker builds

Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
@avgustinmm avgustinmm force-pushed the feature/imporeved_docker_build branch from d87293b to 5cd9807 Compare November 27, 2023 13:26
@avgustinmm
Copy link
Contributor Author

updated with some fixes to enable building different apps

Copy link
Contributor

@strailov strailov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work as expected.
Looks good.

@avgustinmm avgustinmm merged commit 51255fe into eclipse-hawkbit:master Nov 27, 2023
@strailov strailov deleted the feature/imporeved_docker_build branch November 27, 2023 15:06
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

Successfully merging this pull request may close these issues.

3 participants