-
Notifications
You must be signed in to change notification settings - Fork 460
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
feat: add docker support. #1081
Conversation
Signed-off-by: ayamir <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few tings
docker run --rm -it -v ${PWD}:/data ghcr.io/ayamir/nvimdots:nightly
docker run --rm -it -v ${PWD}:/data ghcr.io/anymir/nvimdots:stable
cd ../ && rm -rf unibilium | ||
|
||
# Install the latest stable neovim | ||
RUN curl -LO https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.tar.gz \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we include two variants? One stable and one nightly?
Probably can use multi-build here.
RUN nvim --headless "+Lazy! sync" +qa | ||
|
||
# Start with bash for the convenience of new changes | ||
CMD ["bash"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For publishing to ghcr I recommend to also setup a actions to build for both arm and amd64
Co-authored-by: Aaron Pham <[email protected]> Signed-off-by: Mohu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than what aarnphm had already pointed out, i think it's go to go as a first draft.
close because it seems meaningless... |
I built a docker image for
nvimdots
: https://hub.docker.com/repository/docker/ayamir/nvimdots/general