Add quite mode when download file
Mr-Python-in-China opened this issue · 1 comments
Mr-Python-in-China commented
I'm working in a devcontainer. The project uses yarn 4 and I wrote it in packageManager
. I wrote RUN corepack enable
in Dockerfile, then I use "postCreateCommand": "yarn"
in devcontainer.json. However, I have to press "enter" to allow NodeJS download yarn.
[7802 ms] Start: Run in container: /bin/sh -c yarn
Corepack is about to download https://repo.yarnpkg.com/4.2.1/packages/yarnpkg-cli/bin/yarn.js.
Do you want to continue? [Y/n]
Is there any way to download the package manager automatically?