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

build(dockerStart.sh): refactor apk add command #1685

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

mion00
Copy link
Contributor

@mion00 mion00 commented Mar 3, 2023

Description

  • Guard against the corner case of system_packages.txt files not having a whitespace inside, causing the package names to be merged together.
  • Remove --no-cache option from apk, speeding up subsequent startup times of the same appdaemon container.
  • Avoid running apk add if no system_packages.txt is defined, improving startup times of container.

… created during development

Guard against the corner case of `system_packages.txt` files not having a whitespace inside, causing the package names to be merged toghether.
Remove `--no-cache` option from apk, speeding up subsequent startup times of the same appdaemon container.
Avoid running `apk add` if no `system_packages.txt` is defined.
@acockburn acockburn merged commit 718a5df into AppDaemon:dev Mar 3, 2023
@mion00 mion00 deleted the improve_docker_entrypoint branch March 3, 2023 20:52
@mion00 mion00 restored the improve_docker_entrypoint branch March 4, 2023 17:57
@mion00 mion00 deleted the improve_docker_entrypoint branch March 4, 2023 17:58
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.

2 participants