Skip to content

Commit

Permalink
misc: install pixi and add to the path in docker example (#743)
Browse files Browse the repository at this point in the history
This helps testing as we can easily spawn a docker image that has pixi
installed using `pixi run start` in that example now.
  • Loading branch information
ruben-arts authored Jan 31, 2024
1 parent 479c06d commit 9a13eea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/docker-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 9a13eea

Please sign in to comment.