Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add markdown-oxide server #102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- context: lemminx
tag: lemminx

- context: markdown_oxide
tag: markdown-oxide

- context: omnisharp
tag: omnisharp

Expand Down
5 changes: 5 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ services:
build:
context: servers/lemminx

markdown_oxide:
image: lspcontainers/markdown-oxide
build:
context: servers/markdown_oxide

omnisharp:
image: lspcontainers/csharp-language-server
build:
Expand Down
7 changes: 7 additions & 0 deletions servers/markdown_oxide/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM rust:alpine as build
RUN apk add -U --no-cache musl-dev && rm -rf /var/cache/apk/
RUN cargo install --locked --git https://github.com/Feel-ix-343/markdown-oxide.git markdown-oxide

FROM alpine
COPY --from=build /usr/local/cargo/bin/markdown-oxide /usr/bin/
CMD ["markdown-oxide"]