[PATCH v2] dts: fix runner target in the Dockerfile
Juraj Linkeš
juraj.linkes at pantheon.tech
Thu Sep 19 13:28:00 CEST 2024
On 19. 9. 2024 11:36, Juraj Linkeš wrote:
>
>> 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.
>
>
And by this I mean "--no-root". :-)
More information about the dev
mailing list