Skip to content

Commit 64b5088

Browse files
jpetazzoyiliang114
authored andcommitted
Update Alpine instructions (coder#7156)
While trying to set up code-server on Alpine, I ran into build errors. To solve them, I had to add Kerberos development libs. Also, it looks like npm config doesn't work in recent version of Node and doesn't seem to be necessary. These instructions were tested in the Docker `node:20-alpine` image.
1 parent 0362548 commit 64b5088

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/npm.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ Proceed to [installing](#installing)
6262
## Alpine
6363

6464
```bash
65-
apk add alpine-sdk bash libstdc++ libc6-compat
66-
npm config set python python3
65+
apk add alpine-sdk bash libstdc++ libc6-compat python3 krb5-dev
6766
```
6867

6968
Proceed to [installing](#installing)

0 commit comments

Comments
 (0)