Skip to content

Commit

Permalink
Update Alpine instructions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jpetazzo authored Jan 8, 2025
1 parent f4f0265 commit 9b60189
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ Proceed to [installing](#installing)
## Alpine

```bash
apk add alpine-sdk bash libstdc++ libc6-compat
npm config set python python3
apk add alpine-sdk bash libstdc++ libc6-compat python3 krb5-dev
```

Proceed to [installing](#installing)
Expand Down

0 comments on commit 9b60189

Please sign in to comment.