When installing dfx 17.0, it asks for confirmation to proceed:
$ sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
info: Executing dfxvm install script, commit: 0016b0796d9bf2b4b74f4cc333bcccc139339e0e
info: Downloading latest release...
info: Checking integrity of tarball...
dfxvm-x86_64-unknown-linux-gnu.tar.gz: OK
Welcome to dfxvm!
This will install dfxvm, and download and install dfx.
The dfxvm and dfx commands will be added to the following directory:
...
Current installation options:
dfx version: latest
modify PATH variable: yes
Proceed with installation?:
> Proceed with installation (default)
Customize installation
Cancel installation
How do I avoid it from asking to proceed, and just do it?
I need this because I am installing it as part of a Github Action workflow.
Are you not having issue in finding the dfx in the path? After I install it in my docker and try to run dfx --version it doesnt seem to find dfx in the path anymore.
ENV DFXVM_INIT_YES=true
RUN curl -fsSL https://internetcomputer.org/install.sh | sh
Thanks, the way I fixed it for now is setting dfxPath = '/root/.local/share/dfx/bin'; and pushing this new env to my code that interacts with the CLI. Really not cool having to do that in a rush but this was the easier change for me, since this new dfx update was breaking my app in production.