[PATCH v2] dts: fix runner target in the Dockerfile

Juraj Linkeš juraj.linkes at pantheon.tech
Thu Sep 19 11:36:24 CEST 2024


> diff --git a/dts/Dockerfile b/dts/Dockerfile

> @@ -24,9 +27,12 @@ FROM base AS runner
>   # It bakes DTS into the image during the build.
>   
>   COPY . /dpdk/dts
> -RUN poetry install --no-dev
> +# Adds ~/.local/bin to PATH so that packages installed with pipx are callable. `pipx ensurepath`
> +# fixes this issue, but requires the shell to be re-opened which isn't an option for this target.
> +ENV PATH="$PATH:/root/.local/bin"
> +RUN poetry install --only main --no-root

The patch removing this has been merged to next-dts, so please rebase 
and remove this.




More information about the dev mailing list