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

[rush] rush install hangs in docker build #5048

Open
luoyu2015 opened this issue Dec 17, 2024 · 0 comments
Open

[rush] rush install hangs in docker build #5048

luoyu2015 opened this issue Dec 17, 2024 · 0 comments

Comments

@luoyu2015
Copy link

Summary

I meet a issue with rush in my CI flow, there is a step "node common/scripts/install-run-rush.js install" in my dockerfile, the ci build with the command docker build, and sometimes this step seems to run succcessfully with output of 'Rush install finished successfully. (33.91 seconds)', but after that it doesn't exit.
Is there something rush still do after rush install output 'rush install finished successfully. (33.91 seconds)' ?
Image

Repro steps

Dockerfile

 FROM node:16.15.1-slim as builder

ARG CI_FE_DEBUG
ARG CI_COMMIT_SHA
ARG REPO_GIT_REMOTE_ADDRESS

WORKDIR /home/homework/
COPY . /home/homework/

RUN node common/scripts/install-run-rush.js --help
RUN node common/scripts/install-run-rush.js install

CI command:
docker build -t test .

Expected result:
the docker build finish after rush install

Actual result:
as in the docker top screenshot, the rush install doesn't exit and docker build hangs
Image
Image

Details

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.129.7
rushVersion from rush.json? 5.129.7
useWorkspaces from rush.json? true
Operating system? Linux
Would you consider contributing a PR?
Node.js version (node -v)? v16.15.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant