mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-27 04:35:25 +00:00
Merge pull request #2696 from bpmct/clarify-alpine
docs: clarify Alpine install path in install.md
This commit is contained in:
commit
1272bf9a52
@ -126,6 +126,7 @@ We recommend installing with `yarn` or `npm` when:
|
|||||||
|
|
||||||
1. You aren't on `amd64` or `arm64`.
|
1. You aren't on `amd64` or `arm64`.
|
||||||
2. If you're on Linux with glibc < v2.17 or glibcxx < v3.4.18
|
2. If you're on Linux with glibc < v2.17 or glibcxx < v3.4.18
|
||||||
|
3. You're running Alpine Linux. See [#1430](https://github.com/cdr/code-server/issues/1430#issuecomment-629883198)
|
||||||
|
|
||||||
**note:** Installing via `yarn` or `npm` builds native modules on install and so requires C dependencies.
|
**note:** Installing via `yarn` or `npm` builds native modules on install and so requires C dependencies.
|
||||||
See [./npm.md](./npm.md) for installing these dependencies.
|
See [./npm.md](./npm.md) for installing these dependencies.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
# code-server's automatic install script.
|
# code-server's automatic install script.
|
||||||
# See https://github.com/cdr/code-server/blob/master/docs/install.md
|
# See https://github.com/cdr/code-server/blob/v3.8.1/docs/install.md
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
arg0="$0"
|
arg0="$0"
|
||||||
@ -67,7 +67,7 @@ Usage:
|
|||||||
|
|
||||||
It will cache all downloaded assets into ~/.cache/code-server
|
It will cache all downloaded assets into ~/.cache/code-server
|
||||||
|
|
||||||
More installation docs are at https://github.com/cdr/code-server/blob/master/docs/install.md
|
More installation docs are at https://github.com/cdr/code-server/blob/v3.8.1/docs/install.md
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -419,7 +419,7 @@ install_npm() {
|
|||||||
echoh
|
echoh
|
||||||
echoerr "Please install npm or yarn to install code-server!"
|
echoerr "Please install npm or yarn to install code-server!"
|
||||||
echoerr "You will need at least node v12 and a few C dependencies."
|
echoerr "You will need at least node v12 and a few C dependencies."
|
||||||
echoerr "See the docs https://github.com/cdr/code-server#yarn-npm"
|
echoerr "See the docs https://github.com/cdr/code-server/blob/v3.8.1/docs/install.md#yarn-npm"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user