Here's my Dockerfile:
FROM linuxserver/code-server:latest
[..]
As you can see, I'm using an image that has code-server installed. and it works just fine. When I run it, I can see VS Code via localhost:8443.
However, when I try to install VS Code extensions there, I receive errors (such as HTTP 403 errors).
How can I fix it?
Try this.
RUN /app/code-server/bin/code-server \
--install-extension EXTENSION_ID_1 \
--install-extension EXTENSION_ID_2 \
--install-extension EXTENSION_ID_3 \
--extensions-dir /config/extensions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With