mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
update CI
This commit is contained in:
parent
f9ae40f53c
commit
aad58f1d6b
3 changed files with 20 additions and 20 deletions
14
Dockerfile
14
Dockerfile
|
|
@ -1,18 +1,22 @@
|
|||
FROM nixos/nix
|
||||
FROM nixos/nix as build
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
RUN nix bundle \
|
||||
RUN mkdir -p /out && \
|
||||
nix bundle \
|
||||
-o nvim.AppImage \
|
||||
--bundler github:ralismark/nix-appimage \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes .#full && \
|
||||
mv $(realpath nvim.AppImage) neovim-x86_64-linux.AppImage && \
|
||||
mv $(realpath nvim.AppImage) /out/neovim-x86_64-linux.AppImage && \
|
||||
nix bundle \
|
||||
-o nvim-minimal.AppImage \
|
||||
--bundler github:ralismark/nix-appimage \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes .#minimal && \
|
||||
mv $(realpath nvim-minimal.AppImage) neovim-x86_64-linux-minimal.AppImage && \
|
||||
nix-collect-garbage
|
||||
mv $(realpath nvim-minimal.AppImage) /out/neovim-x86_64-linux-minimal.AppImage
|
||||
|
||||
FROM scratch
|
||||
WORKDIR /out
|
||||
COPY --from=build /out /out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue