Skip to content

Commit

Permalink
hacky pixi dependency fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klwetstone committed Aug 15, 2024
1 parent 91ddba1 commit aa6c968
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,9 @@ update-lockfile:
--file runtime/Dockerfile-lock \
--tag pixi-lock:local
@echo Running lock container
docker run \
--mount type=bind,source="$(shell pwd)"/runtime,target=/tmp \
--rm \
pixi-lock:local
docker create --name dummy pixi-lock:local
docker cp dummy:/tmp/pixi.lock runtime/pixi.lock
docker rm -f dummy

## Ensures that your locally built image can import all the Python packages successfully when it runs
test-container: _check_image _echo_image _submission_write_perms
Expand Down
3 changes: 2 additions & 1 deletion runtime/Dockerfile-lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM ghcr.io/prefix-dev/pixi:0.26.1-jammy
USER root

RUN mkdir -p /tmp
COPY pixi.* /tmp/
WORKDIR /tmp

ENTRYPOINT ["pixi", "tree", "--manifest-path", "pixi.toml", "--platform", "linux-64", "-v"]
RUN pixi tree --manifest-path pixi.toml --platform linux-64 -v

0 comments on commit aa6c968

Please sign in to comment.