When using code-server in Dockerfile to install extensions, the extension source is OpenVSX.
If you cannot find the required extension in the OpenVSX repository, you can try downloading VSIX installation packages from other extension sources. Then use the VSIX package to install the extension in Dockerfile.
# Install from OpenVSX RUN code-server --install-extension ms-python.python # Install from local VSIX package RUN code-server --install-extension /path/to/extension.vsix