Docker image
See original GitHub issueDescribe the problems you are having I just want to avoid Java tool chain in my system, since I don’t know anything about Java. Yes it sounds really stupid 😃
Describe the solution you’d like
It would be nice to have a Docker image alongside the release. Some linting tools (which are hard to build from source) support this alternative method like hadolint.
You don’t need to publish it to DockerHub though. Just a Dockerfile
file is helpful enough. Publishing it through GitHub container registry is also an option.
Additional context
I have a working image, simply by just spinning up an Alpine base, copying the release over and installing opendjdk11-jdk
on it. It works but not ideal. A Dockerfile
file with detailed build instruction would be nice (I can’t seem to find the build from source instruction anywhere).
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (1 by maintainers)
@valentjn I checked the CI configuration and realized that I forgot to generate the completion lists. This is my new Dockerfile, which seems to work fine for Markdown and LaTEX files (I still can’t get things to work in Org file).
Build:
podman build -f Dockerfile -t ltex-ls .
Run using a wrapper script:The container image is built from the Github release. I can send a PR getting this into the repo (with some changes to fit your workflow).
@FollieHiyuki: Please do! Being able to reuse this Docker images saves a lot of electricity and time for all those using dev containers with
ltex-ls
.