entrypoint 251 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
#!/bin/bash

# mimic a login shell by sourcing files under /etc/profile.d
# without using "-l" argument to bash a full login shell really
# wants a TTY that docker doesn't provide by default
. /etc/profile.d/conda.sh
conda activate $1
shift
exec "$@"