You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a Utility Function: Develop a separate utility function responsible for generating a Docker image template. This function should handle the following aspects:
Base Image Selection: Allow choosing between the latest Nautilus Trader image (ghcr.io/nautechsystems/nautilus_trader:latest) and the latest MetaTrader 5 Terminal image (ghcr.io/fortesenselabs/metatrader5-terminal:latest).
Implement CLI Command: Add a new CLI command (flowcli generate image metatrader5_terminal OR flowcli generate image nautilus_trader ) that utilizes the utility function to generate the Docker image template.
Template Options: The generated template should be a Dockerfile customized for the chosen base image.
Additional Considerations:
Error Handling: Implement robust error handling in the utility function to gracefully handle invalid base image selection or potential issues during template generation.
Documentation: Update project documentation to explain the flowcli generate metatrader command, its usage, options, and how to build the generated Docker image.
Note:
This issue proposes a separate utility function to encapsulate the image generation logic and maintain cleaner separation of concerns in the main server/daemon program. The final implementation might choose to integrate this functionality directly into the CLI command if deemed more suitable.
The text was updated successfully, but these errors were encountered:
seekersoftec
changed the title
Command to generate MetaTrader docker image
Add Command to generate MetaTrader docker image
Aug 23, 2024
seekersoftec
changed the title
Add Command to generate MetaTrader docker image
Add Command to generate MetaTrader Docker Image
Aug 23, 2024
seekersoftec
changed the title
Add Command to generate MetaTrader Docker Image
Implement Flow CLI Command to Generate MetaTrader Docker Image
Aug 24, 2024
seekersoftec
changed the title
Implement Flow CLI Command to Generate MetaTrader Docker Image
Implement Flow CLI Command to Generate Docker Image
Aug 30, 2024
Task:
ghcr.io/nautechsystems/nautilus_trader:latest
) and the latest MetaTrader 5 Terminal image (ghcr.io/fortesenselabs/metatrader5-terminal:latest
).flowcli generate image metatrader5_terminal
ORflowcli generate image nautilus_trader
) that utilizes the utility function to generate the Docker image template.Additional Considerations:
flowcli generate metatrader
command, its usage, options, and how to build the generated Docker image.Note:
This issue proposes a separate utility function to encapsulate the image generation logic and maintain cleaner separation of concerns in the main server/daemon program. The final implementation might choose to integrate this functionality directly into the CLI command if deemed more suitable.
The text was updated successfully, but these errors were encountered: