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

feat: rootless image and custom properties #26

Merged
merged 3 commits into from
Oct 24, 2024

Conversation

hbollon
Copy link
Member

@hbollon hbollon commented Oct 24, 2024

With this PR I've done two major changes to the extract image:

  • The final image is now rootless, it will now run with UID 33 (www-data) and I changed ownership of /usr/local/tomcat/ /var/log/extract/ directories
  • I added a custom application.properties file which is now use to override the default one during the build process. This file now use env variables for database, security and external domain configuration in order to improve the configuration process and avoid clear secrets in flags

@hbollon hbollon marked this pull request as ready for review October 24, 2024 07:49
@hbollon hbollon changed the title Build/rootless image and custom properties feat: rootless image and custom properties Oct 24, 2024
@hbollon hbollon self-assigned this Oct 24, 2024
@hbollon hbollon requested review from marionb and lanseg October 24, 2024 07:54
Copy link
Member

@marionb marionb left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@hbollon hbollon force-pushed the build/rootless-image-and-custom-properties branch from 1001f83 to d783ae6 Compare October 24, 2024 13:28
@hbollon hbollon merged commit 0806377 into master Oct 24, 2024
@hbollon hbollon deleted the build/rootless-image-and-custom-properties branch October 24, 2024 13:38
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