chore: actualizar deps Go, sources.yaml y funciones infra modificadas

Nuevas dependencias para ClickHouse, DuckDB, Postgres drivers.
Actualizar sources.yaml con funciones extraídas.
Ajustes menores en write_jupyter_launcher, write_mcp_jupyter_config y docker_run_container.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-01 20:55:55 +02:00
parent 125ef74358
commit 29c8046d4e
6 changed files with 335 additions and 11 deletions
+6
View File
@@ -15,6 +15,8 @@ type DockerRunOpts struct {
Detach bool // Ejecutar en background
Remove bool // Eliminar al terminar (--rm)
Network string // Red Docker (opcional)
CapAdd []string // Linux capabilities, ej: ["NET_ADMIN", "SYS_MODULE"]
Cmd []string // Comando a ejecutar en el contenedor (opcional)
}
// DockerRunContainer ejecuta un contenedor Docker nuevo con la imagen y opciones dadas.
@@ -43,8 +45,12 @@ func DockerRunContainer(image string, opts DockerRunOpts) (string, error) {
for _, vol := range opts.Volumes {
args = append(args, "-v", vol)
}
for _, cap := range opts.CapAdd {
args = append(args, "--cap-add", cap)
}
args = append(args, image)
args = append(args, opts.Cmd...)
out, err := exec.Command("docker", args...).CombinedOutput()
if err != nil {