-
Notifications
You must be signed in to change notification settings - Fork 132
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
Unable to use offline workflow #414
Comments
Can you try using |
I tried to applied your suggestion: It works on the image creation stage, but later, when AKS creates containers based on this image it fails with CrashLoopBackOff because it can't call a yarn command: 'yarn' is not recognized as an internal or external command Do I need to specify a path to installed yarn? e.g.: RUN SETX /M PATH "%PATH%;C:\path\to\installed\yarn"? |
I was able to solve this with the following:
Took a lot of digging to find this in the unit tests: Lines 507 to 510 in 6efa349
Would be nice if this was documented. |
I'm trying to install yarn@4.0.2 for offline usage in a container.
Here is my dockerfile:
I do see that yarn@4.0.2 is downloaded in placed in the image in corepack.tgz and yarn installation starts according to the logs, but yarn is still not available afterwards. Here are the logs:
Am I doing anything wrong?
The text was updated successfully, but these errors were encountered: