Skip to content

Fix to properly run the command within the docker instance.#39

Closed
jmfernandez wants to merge 1 commit intoCESNET:mainfrom
inab:fixes_bsc
Closed

Fix to properly run the command within the docker instance.#39
jmfernandez wants to merge 1 commit intoCESNET:mainfrom
inab:fixes_bsc

Conversation

@jmfernandez
Copy link

Not all the docker images have to have /bin/sh shell,
and the command line itself is obtained from the received TES request.

So, instead of writing the command to a shell script, and running the shell script within the container instance, the patch makes docker running the command within the container instance.

If this patch is accepted, some janitorial work would be needed, as all the script generation and permissions setting machinery could be removed.

Also, a similar change should be applied for the scenarios where singularity is being used instead of docker

Not all the images have to have `/bin/sh` shell,
and the command line itself is obtained from the received TES request.
@martenson
Copy link
Member

thank you @jmfernandez -- should be implemented in #45

@martenson martenson closed this Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants