Skip to content

Commit

Permalink
updating to account for breaking change in pixi clean cache cli
Browse files Browse the repository at this point in the history
  • Loading branch information
nrminor committed Sep 30, 2024
1 parent 1fe92c9 commit 7003655
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ RUN cd $HOME && PIXI_ARCH=x86_64 curl -fsSL https://pixi.sh/install.sh | bash
ENV PATH=$PATH:$HOME/.pixi/bin

# 4) install everything else with pixi
RUN cd $HOME && pixi clean cache --yes && pixi install --verbose --color=always --frozen && pixi clean cache --yes
RUN cd $HOME && pixi install --verbose --color=always --frozen && pixi clean cache --assume-yes

# 5) modify the shell config so that each container launches within the pixi env
RUN echo "export PATH=$PATH:$HOME/.pixi/envs/default/bin" >> $HOME/.bashrc
Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ setup-env:

# Build the Docker image for the pipeline locally.
docker-build:
docker build -t nrminor/dorado-and-friends:v0.2.2 .
docker build -t nrminor/dorado-and-friends:v0.2.3 .

# Push the docker image to Docker Hub (requires N.R. Minor's login credentials).
docker-push:
docker push nrminor/dorado-and-friends:v0.2.2
docker push nrminor/dorado-and-friends:v0.2.3

# Run both docker recipes in sequence
docker: docker-build docker-push
Expand Down
8 changes: 4 additions & 4 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ profiles {
singularity.enabled = false
conda.enabled = false

process.container = "nrminor/dorado-and-friends:v0.2.2"
process.container = "nrminor/dorado-and-friends:v0.2.3"

}

Expand All @@ -210,7 +210,7 @@ profiles {
singularity.enabled = false
conda.enabled = false

process.container = "nrminor/dorado-and-friends:v0.2.2"
process.container = "nrminor/dorado-and-friends:v0.2.3"

}

Expand All @@ -220,7 +220,7 @@ profiles {
docker.enabled = false
conda.enabled = false

process.container = "docker://nrminor/dorado-and-friends:v0.2.2"
process.container = "docker://nrminor/dorado-and-friends:v0.2.3"

}

Expand All @@ -230,7 +230,7 @@ profiles {
docker.enabled = false
conda.enabled = false

process.container = "docker://nrminor/dorado-and-friends:v0.2.2"
process.container = "docker://nrminor/dorado-and-friends:v0.2.3"

}

Expand Down

0 comments on commit 7003655

Please sign in to comment.