diff --git a/docker-images/Dockerfile.agent b/docker-images/Dockerfile.agent index 36ab2e3..414cae2 100644 --- a/docker-images/Dockerfile.agent +++ b/docker-images/Dockerfile.agent @@ -5,7 +5,7 @@ FROM python:3.12-slim RUN apt-get update && apt-get install -y \ git curl build-essential unzip sudo \ ffmpeg jq zsh pkg-config libssl-dev tmux \ - default-jdk-headless \ + default-jdk-headless just \ && rm -rf /var/lib/apt/lists/* #1a GIT store creds @@ -61,8 +61,8 @@ ENV PATH="/usr/local/go/bin:$PATH" # tinygo Download the latest binary tarball ARG TGO_VER=0.40.1 -RUN curl -LO https://github.com/tinygo-org/tinygo/releases/download/v${TGO_VER}/tinygo_${TGO_VER}_amd64.tar.gz && \ - sudo tar -C /usr/local -xzf tinygo_${TGO_VER}_amd64.tar.gz +RUN curl -LO https://github.com/tinygo-org/tinygo/releases/download/v${TGO_VER}/tinygo_${TGO_VER}_amd64.deb && \ + dpkg -i tinygo_${TGO_VER}_amd64.deb # Add TinyGo to your PATH (add to ~/.bashrc or ~/.zshrc for persistence) ENV PATH="$PATH:/usr/local/tinygo/bin" diff --git a/opencode.cfg/opencode.json b/opencode.cfg/opencode.jsonc similarity index 87% rename from opencode.cfg/opencode.json rename to opencode.cfg/opencode.jsonc index 41ba81a..c564610 100644 --- a/opencode.cfg/opencode.json +++ b/opencode.cfg/opencode.jsonc @@ -100,5 +100,23 @@ "cors": [ "https://example.com" ] - } -} \ No newline at end of file + }, + "languageServers": { + "xquery": { + "command": [ + "bun", + "/home/andy/git/apb/lsp-bridge/dist/index.js", + "ws://localhost:3000" + ], + "languageId": "xquery", + "extensions": [ + ".xq", + ".xqm" + ], + "initialization": { + "preferences": { + "importModuleSpecifierPreference": "relative" + } + } + } + } \ No newline at end of file