Skip to content

Devc uses previous Docker image if updated Dockerfile has an error during rebuild #1068

Open
@ericglau

Description

@ericglau
  1. Start dev mode with containers, using a valid Dockerfile
  2. Change the Dockerfile to have some invalid commands or Dockerfile syntax errors
  3. Dev mode tries to rebuild the Dockerfile, shows an error, but then starts the previous container image

This is misleading since the user might not see the docker build failure, and wonder why their changes are not being reflected in the server/container that is being run.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions