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

Docker entrypoint functions #762

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

tcely
Copy link
Contributor

@tcely tcely commented May 30, 2023

DRY: Reduced some of the duplicated code in the entrypoints.

tcely added 5 commits May 30, 2023 08:11
The entrypoint files had significant common operations.

This is a first step towards only maintaining one copy of the code.
To have the desired effect we need to call set with the determined argument instead.
* docker entrypoint-smp-server: use functions.sh

* docker entrypoint-xftp-server: use functions.sh
Using these didn't improve the situation.

They were only used once and made understanding what was happening harder.
@tcely tcely requested a review from shumvgolove as a code owner May 30, 2023 16:28
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.

1 participant