Skip to content

Docker image showing "dirty" tag after modifying run_locally.sh #1282

@srikarBudda

Description

@srikarBudda

Context:
While running the monitoring suite locally, we noticed that the Docker image tag is being marked as dirty(e.g., v0.20.0-dirty). The only local modifications we made were:

  1. Updating run_locally.sh to fix a small issue(see below) in the docker run command and to adjust the AUTH_SPEC configuration.
  2. Updating uss2.libsonnet with our base URLs.
Image

The above is the issue we saw associated with the docker run command and was later fixed by doing the below fix.

Image

After these changes, everything runs fine, but the image tag now consistently appears as dirty even though the repository has no other changes other than the two above.

This is the snapshot of the changes. The others are just the files that are being requested here to be present to run the configuration.

Image

Question:

  1. Is there a known reason why updating run_locally.sh would cause the docker image to be marked as "dirty"?
  2. Could this behavior be tied to how the script interacts with the repo during build or run?
  3. And is there a recommended way to avoid the "dirty" tag when making small local script fixes like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions