cleanup
parent
37bc098549
commit
efe030524d
|
|
@ -5728,7 +5728,7 @@ class Docker {
|
||||||
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
|
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
|
||||||
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
|
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
|
||||||
${image} \
|
${image} \
|
||||||
${image === `alpine` ? `/bin/sh -c ` : `/bin/bash -c `} \
|
${entrypointBash ? `--entrypoint` : ``} ${image === `alpine` ? `/bin/sh -c ` : `/bin/bash -c `} \
|
||||||
${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}`;
|
${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}`;
|
||||||
}
|
}
|
||||||
static getWindowsCommand(image, parameters) {
|
static getWindowsCommand(image, parameters) {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -61,7 +61,7 @@ class Docker {
|
||||||
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
|
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
|
||||||
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
|
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
|
||||||
${image} \
|
${image} \
|
||||||
${image === `alpine` ? `/bin/sh -c ` : `/bin/bash -c `} \
|
${entrypointBash ? `--entrypoint` : ``} ${image === `alpine` ? `/bin/sh -c ` : `/bin/bash -c `} \
|
||||||
${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}`;
|
${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue