14 Commits
Author SHA1 Message Date
Dominik Jain 5b3b81e7e4 Revert "Do not use listen_address 0.0.0.0 for Docker (has no desirable effect)"
This reverts commit 7ad44edd18.

Listen address 0.0.0.0 is necessary for docker, because port forwarding for Docker
is just NAT, so port forwarding alone is not sufficient

Fixes #879
2025-12-27 11:58:12 +01:00
Dominik Jain 7ad44edd18 Do not use listen_address 0.0.0.0 for Docker (has no desirable effect) 2025-12-11 00:06:46 +01:00
Dominik Jain d452c2e413 Do away with Docker-specific case distinctions; instead, configure Docker properly 2025-12-11 00:05:12 +01:00
Vladimir 807ff1f56e refactor: use rustup-managed rust-analyzer instead of bundling (#495)
rust-analyzer now requires rustup to be installed

## Motivation

The previous implementation bundled rust-analyzer binaries that quickly
became outdated and required manual updates to Serena's codebase. This
caused version mismatches between the bundled rust-analyzer and users'
actual Rust toolchain versions.

## Changes

- Remove RuntimeDependency-based binary bundling for rust-analyzer
- Use rustup-managed rust-analyzer from the user's toolchain
- Add automatic installation of rust-analyzer component if missing
- Install rustup with minimal profile in Docker images

## Rationale

Rust development universally relies on rustup for toolchain management.
Unlike some other languages where system packages or bundled binaries
make sense, Rust developers already have rustup installed and expect
tools to use their toolchain's versions.

This approach ensures:
- rust-analyzer always matches the user's Rust version
- No outdated binaries shipped with Serena
- Automatic updates via `rustup update`
- Consistency with Rust ecosystem expectations

The LSP API of rust-analyzer is stable enough that version differences
are not a concern. If users don't have rustup, they'll get a clear error
message - this is acceptable since you cannot meaningfully develop Rust
without rustup.

## Docker Support

Added rustup installation to Docker images to ensure Rust support works
in containerized environments. Uses minimal profile to reduce image size
while still providing full rust-analyzer functionality.
2025-08-20 17:03:16 +02:00
MischaPanch b28f40ac7b Added git to docker 2025-08-11 22:39:56 +02:00
MischaPanch 71bb1f8d99 Added unzip to docker 2025-08-11 22:38:31 +02:00
MischaPanch 6a2458c688 Added zip to dockerfile 2025-08-11 18:11:07 +02:00
MischaPanch e4e98c7e24 Docker: add sudo and wget to image 2025-08-11 18:11:07 +02:00
VH 396ca3f356 Add NodeJS inside Docker image (#421) 2025-08-06 13:34:01 +02:00
Aaron Yordanyan 9026ec5ef2 Add Docker support with GitHub Actions workflow and updated configurations
- Introduced `.github/workflows/docker.yml` for building and pushing Docker images.
- Updated `Dockerfile` to split stages for `base`, `development`, and `production`.
- Added `compose.yaml` for Docker Compose setups.
- Enhanced `README.md` with Docker usage instructions.
2025-06-06 17:15:16 +04:00
Miguel de Benito Delgado 3ba52bdfc1 Add missing ssh client to docker image 2025-06-06 10:30:16 +00:00
Miguel de Benito Delgado 1772bfdb92 Fix wrong shell and missing file in Dockerfile for uv 2025-06-06 10:26:31 +00:00
Michael Panchenko fdb09ab8e7 Acknowledgements, uv install instructions 2025-03-31 19:30:34 +02:00
Michael Panchenko e93169bc8d Initial commit from pymetrius template 2025-03-23 23:33:19 +01:00