LSP Dockerfiles
Dockerfiles for Language Server Protocol (LSP) servers - Containerized language servers for use with IDEs.
What is this?
This sub repository provides production-ready Docker containers for 25+ Language Server Protocol (LSP) servers.
Note:
Files under servers/ were copied from https://github.com/lspcontainers/dockerfiles/servers. The root dockerfile is primary and not part of the reference servers. This README is modified from the other repo.
How it works:
- Docker containers provide isolated, reproducible LSP server environments
- Zero local installation - no need to install language servers on your system
Perfect for:
- Consistent development environments across teams and machines
- Clean system - no language server pollution on your host
- Reproducible builds with pinned package versions
- Easy switching between language server versions
Supported Language Servers
Architecture & Design
Reproducible Builds
All containers use pinned package versions for complete reproducibility:
- Base images: Specific Alpine/Debian versions
- System packages: Exact apk/apt package versions
- Language packages: Pinned npm, gem, pip, go module versions
Minimal & Secure
- Alpine Linux base for minimal attack surface
- Multi-stage builds where applicable
- Non-root users for security
- Distroless principles - only essential components