Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Docker image: put /opt/conda/bin on the PATH
Browse files Browse the repository at this point in the history
Not sure why this is, but when parsl submits a job, it submits the command with
"bash -c <command>" and `/opt/conda/bin` is not on the path, so <command>, which
is provided by conda-installed deps, is not found.

This works with docker, however:

```
docker run ghcr.io/qgreenland-net/parsl-exploration bash -c "<command>"
```
  • Loading branch information
trey-stafford committed Apr 16, 2024
1 parent ad6e29a commit 7817340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ COPY --chown=$MAMBA_USER:$MAMBA_USER . .
RUN micromamba install --yes --name "base" --file "environment.yml"
RUN micromamba clean --all --yes

# ENV PATH "/opt/conda/bin:${PATH}"
ENV PATH "/opt/conda/bin:${PATH}"

0 comments on commit 7817340

Please sign in to comment.