Skip to content

Docker --build --save --load --serve chaining for Compose Usage #6349

Open
@ndoo

Description

@ndoo

Is your feature request related to a problem? Please describe.

The Docker image currently requires running --build --save in foreground followed by --load --serve which can be daemonized.

This makes the Docker image not compatible with headless workflows like running services with Compose.

Attempting this currently results in this error by design:
ERROR [main] (OTPMain.java:93) Parameter error: --load, --build can not be used together. Use --help to see available options.

Goal / high level use-case
Make the Docker image headless by re-build and immediately serving.

Describe the solution you'd like
Make it possible to specify --build --save --load --serve simultaneously resulting in the correct sequential execution resulting in the same as if they were run separately.

Describe alternatives you've considered
A custom Dockerfile with a script that achieves the same.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleThis issue is stale, no activity for 90 days. Remove stale label or comment within 30 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions