From 9a13eea5e8fbaf0775f025028f034ced1db76ecf Mon Sep 17 00:00:00 2001 From: Ruben Arts Date: Wed, 31 Jan 2024 14:26:02 +0100 Subject: [PATCH] misc: install pixi and add to the path in docker example (#743) This helps testing as we can easily spawn a docker image that has pixi installed using `pixi run start` in that example now. --- examples/docker-build/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/docker-build/Dockerfile b/examples/docker-build/Dockerfile index e792ab0b1..1c81a1d05 100644 --- a/examples/docker-build/Dockerfile +++ b/examples/docker-build/Dockerfile @@ -35,4 +35,7 @@ RUN --mount=type=cache,target=/root/.cache/rattler pixi install COPY ../../. ./ # Build pixi a custom pixi version in a docker container by running pixi the latest pixi ;) -RUN pixi run build +RUN pixi run install + +# Add .cargo/bin to the path +ENV PATH="/root/.cargo/bin:${PATH}"