-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Bug] scoop in docker shims seem broken #4792
Comments
What if using shim? i.e., |
Additionally, can you remove the double quotes in |
@rashil2000 @mjvankampen tested with the following Dockerfile, but removing the double quotes from the
|
@rashil2000 @mjvankampen |
So the |
We're being affected by the same issue as well. all Junctions created with After building a container, run it and you can see junctions crated with
|
What is your PowerShell version? |
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
|
@rashil2000 Getting the same error.
|
Has this issue been reported to PowerShell upstream? I can't find it. |
Not sure if this is a PowerShell issue. This used to work with the same PowerShell version till scoop-2021-12-26, I would also agree with @pd-kcarrasco that probably 98ea7a5 broke this When I run the same command in powershell the links are properly created
|
It seems to affect only docker containers, that's why I asked if there's a report of it somewhere upstream |
docker/for-win#12240 Found this bug report, but seems like this was not fixed |
Is there a way to recognize docker context (with help of an environment variable or something)? We can write a wrapper function for it as a workaround |
Should be possible https://stackoverflow.com/a/46810471 |
Can you make a PR? |
Have attempted the fix in #4837. With that fix I was able to install it successfully inside a |
Thanks for the fix! Does scoop need a new release for users to get the new code? |
Yes, we should probably create a small patch release for the recent bug fixes. |
Of cause, in a few days, maybe. |
If we have to wait for couple of days, what would be the instruction to install scoop from the develop branch ? |
scoop config SCOOP_BRANCH develop |
@niheaven could you please draft a patch release? It's been 4 weeks 😅 |
Bug Report
Current Behavior
install scoop in a docker container
install a scoop package (such as git)
use scoop package in a subsequent RUN command results in:
Expected Behavior
Can use installed programs
Additional context/output
Possible Solution
https://github.com/ScoopInstaller/Scoop/tree/2021-12-26 does work
System details
Windows version: 10
OS architecture: 64bit
PowerShell version: [output of
"$($PSVersionTable.PSVersion)"
]Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration
//# Your configuration here
I will try to add more config details asap, but maybe someone already has an idea?
The text was updated successfully, but these errors were encountered: