Skip to content

RunAsDocker #14294

@tjwald

Description

@tjwald

Is there an existing issue for this?

  • I have searched the existing issues

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

We are trying in our inner dev loop to run the services 99% of the time as native processes for fast cycles.

However, we do want every now and then to test the service using the docker image in aspire.

Currently there is no easy way to do this without breaking type safety.

Describe the solution you'd like

I would like an extension method for python, typescript and any service with a dockerfile configured to be able to run as docker.

We can then have this behind an envvar / feature flag to turn off or on. But we need the primitive in the framework

Additional context

We want this locally, but also in integration tests we would want to run using docker and not using the native process.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions