This gist shows how to use the just command runner for a docker based project. The trick is to give the ability to call the recipes inside or outside the container, making it compatible for example with pipelines, or Devcontainers.
image_name := env_var_or_default("IMAGE_NAME", "buildenv:componentTesting")
# https://stackoverflow.com/questions/23513045/how-to-check-if-a-process-is-running-inside-docker-container