Closed Greek64 closed 3 months ago
I have a image that is generated with a Dockerfile containing
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"] CMD ["bash"]
When using x11docker (x11docker -it -- test_image bash) with normal python (x11docker <= v7.4.2 OR jq uninstalled) the generated cmdrc contains
x11docker -it -- test_image bash
jq
cmdrc
89 debugnote "cmdrc: Running container command: 90 '/bin/bash' '/entrypoint.sh' 'bash'" 91 92 '/bin/bash' '/entrypoint.sh' 'bash' 93 94 storeinfo cmdexitcode=$?
which works as expected.
When using x11docker (x11docker -it -- test_image bash) with jq (x11docker >= v7.5.0 with jq installed) the generated cmdrc contains
89 debugnote "cmdrc: Running container command: 90 /bin/bash" 91 "/entrypoint.sh 'bash'" 92 93 /bin/bash" 94 "/entrypoint.sh 'bash' 95 96 storeinfo cmdexitcode=$?
which fails with
/x11docker/cmdrc: 91: /entrypoint.sh 'bash': not found /x11docker/cmdrc: 94: /bin/bash /entrypoint.sh: not found
I think this is related to #485
Thank you for the report! I'll check this.
I have a image that is generated with a Dockerfile containing
When using x11docker (
x11docker -it -- test_image bash
) with normal python (x11docker <= v7.4.2 ORjq
uninstalled) the generatedcmdrc
containswhich works as expected.
When using x11docker (
x11docker -it -- test_image bash
) withjq
(x11docker >= v7.5.0 withjq
installed) the generatedcmdrc
containswhich fails with