Skip to content
Snippets Groups Projects
Verified Commit 75040b3d authored by Marvin Weiler's avatar Marvin Weiler
Browse files

Dockerfile for a helix Editor with some lsp

parents
No related branches found
No related tags found
No related merge requests found
FROM registry.fedoraproject.org/fedora:38
WORKDIR /app
RUN dnf install nodejs npm python3 python3-pip xz julia openblas openblas-devel clang-tools-extra -y
RUN curl -L https://github.com/helix-editor/helix/releases/download/22.12/helix-22.12-x86_64-linux.tar.xz --output helix-x86_64-linux.tar.xz && \
tar -xf helix-x86_64-linux.tar.xz && \
mv helix*-x86_64-linux/* . && \
rm helix*-x86_64-linux -rf
# Install language servers
RUN pip install cmake-language-server 'python-lsp-server[all]' && \
npm install --no-dev -g \
lldb-vscode \
vls \
typescript \
typescript-language-server \
intelephense \
elm elm-test elm-format @elm-tooling/elm-language-server \
vscode-langservers-extracted \
dot-language-server \
dockerfile-language-server-nodejs && \
julia -e 'using Pkg; Pkg.add("LanguageServer")' # julia
ENV HELIX_RUNTIME=/app
CMD [ "/app/hx" ]
podman build -t localhost/helix-container:latest .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment