Skip to content

Fix & refactor dev docker-entrypoint.sh script#3721

Open
jkppr wants to merge 5 commits intogoogle:masterfrom
jkppr:fix-dev-entrypoint
Open

Fix & refactor dev docker-entrypoint.sh script#3721
jkppr wants to merge 5 commits intogoogle:masterfrom
jkppr:fix-dev-entrypoint

Conversation

@jkppr
Copy link
Collaborator

@jkppr jkppr commented Feb 13, 2026

  • Refactor dev docker-entrypoint.sh to support a local persistent key per dev env preventing frequent re-authentication after each restart.
  • Adding the local key to the gitignore file to prevent leakages in PRs
  • Fix some format mismatches with sed commands on timesketch.conf
  • Moving configs that don't need change to links instead of copies

closes #3709

… per dev env preventing frequent re-authentication after each restart.

* Adding the local key to the gitignore file to prevent leakages in PRs
* Fix some format missmatches with sed commands on timesketch.conf
* Moving configs that don't need change to links instead of copies
@jkppr jkppr self-assigned this Feb 13, 2026
@jkppr
Copy link
Collaborator Author

jkppr commented Feb 13, 2026

/gemini review

@jkppr jkppr requested a review from jaegeral February 13, 2026 14:42
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces several valuable improvements to the development Docker environment. The change to a persistent secret key is a great enhancement for developer experience, and adding the key file to .gitignore is a necessary security measure. The refactoring of configuration file handling from copies to symbolic links is a good move for a dev setup, and the fixes to the various sed commands correct existing bugs. My review includes a critical suggestion to improve the safety of sed commands that use environment variables to prevent script failures and potential injection vulnerabilities. I've also included a suggestion to refactor the creation of symbolic links for better maintainability.

jkppr and others added 2 commits February 13, 2026 15:59
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Copy link
Collaborator

@jaegeral jaegeral left a comment

Choose a reason for hiding this comment

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

A few comments

@jkppr jkppr requested a review from jaegeral February 13, 2026 16:25
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.

Hot reload timesketch.conf in development environment & avoid relogins

2 participants