Skip to content

Script unable to find installed curl / wget on Alpine #206

Closed
@kaashyapan

Description

@kaashyapan
bash-5.1# chmod +x dotnet-install.sh
bash-5.1# ./dotnet-install.sh -c Current --os linux-musl
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet_install: Error: curl (recommended) or wget are required to download dotnet. Install missing prerequisite to proceed.
bash-5.1# which curl
/usr/bin/curl
bash-5.1# which wget
/usr/bin/wget
bash-5.1# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.14.0
PRETTY_NAME="Alpine Linux v3.14"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
bash-5.1# 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions