nvim.nix/Dockerfile
2023-05-26 15:06:21 -05:00

18 lines
575 B
Docker

FROM nixos/nix
WORKDIR /app
COPY . .
RUN nix bundle \
--bundler github:ralismark/nix-appimage \
--extra-experimental-features nix-command \
--extra-experimental-features flakes .#full && \
mv $(realpath nvim-x86_64.AppImage) neovim-x86_64-linux.AppImage && \
nix-collect-garbage
RUN nix bundle \
--bundler github:ralismark/nix-appimage \
--extra-experimental-features nix-command \
--extra-experimental-features flakes .#minimal && \
mv $(realpath nvim-x86_64.AppImage) neovim-x86_64-linux-minimal.AppImage && \
nix-collect-garbage