Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use node20_1 for sleepCommand when running container #4929

Conversation

DenisRumyantsev
Copy link
Contributor

@DenisRumyantsev DenisRumyantsev commented Aug 6, 2024

Description: there is no Node (version 6) in the Alternate Agent versions, and it will be removed from the vsts-agent version soon, so we need to use Node20_1 when starting Docker containers.

Docker command —

docker create --name <name> --label <label> --network <network>
-v "_work":"C:\__w"
-v "_work\_tasks":"C:\__w\_tasks"
-v "_work\_tool":"C:\__t"
-v "externals":"C:\__a\externals"
mcr.microsoft.com/windows/servercore:ltsc2022
"C:\__a\externals\node20_1\bin\node.exe"
-e "setInterval(function(){}, 24 * 60 * 60 * 1000);"

@DenisRumyantsev DenisRumyantsev requested review from a team as code owners August 6, 2024 09:20
@DenisRumyantsev DenisRumyantsev added the misc Miscellaneous Changes label Aug 6, 2024
@DenisRumyantsev DenisRumyantsev force-pushed the users/DenisRumyantsev/use-node20_1-for-run-container-sleep-command branch from 953cee6 to c0a95e3 Compare August 12, 2024 09:44
@DenisRumyantsev DenisRumyantsev force-pushed the users/DenisRumyantsev/use-node20_1-for-run-container-sleep-command branch from c0a95e3 to 49ac73a Compare August 12, 2024 09:48
@DenisRumyantsev DenisRumyantsev merged commit a4c8755 into master Aug 12, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misc Miscellaneous Changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants