18 lines
1,000 B
Docker
18 lines
1,000 B
Docker
FROM nixos/nix:2.18.9
|
|
|
|
LABEL maintainer="tommy@252.no"
|
|
LABEL org.opencontainers.image.title="Nix Builder"
|
|
LABEL org.opencontainers.image.description="Builder for Lix Flake and Snowfall environments"
|
|
LABEL org.opencontainers.image.url="https://code.252.no/tommy/containers/lix-builder"
|
|
LABEL org.opencontainers.image.source="https://code.252.no/tommy/containers"
|
|
LABEL org.opencontainers.image.vendor="https://code.252.no/tommy"
|
|
LABEL org.opencontainers.image.authors="tommy@252.no"
|
|
|
|
WORKDIR /tmp/working-dir
|
|
|
|
RUN echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
|
RUN nix-channel --update
|
|
|
|
RUN nix-env -iA nixpkgs.go nixpkgs.vim nixpkgs.sops nixpkgs.nix-direnv nixpkgs.attic-client nixpkgs.nh nixpkgs.deploy-rs nixpkgs.statix nixpkgs.deadnix nixpkgs.alejandra nixpkgs.home-manager nixpkgs.ssh-to-age nixpkgs.gnupg nixpkgs.age nixpkgs.linux nixpkgs.go-task nixpkgs.curl nixpkgs.fish nixpkgs.nixos-anywhere nixpkgs.slirp4netns nixpkgs.podman nixpkgs.podman-tui
|
|
|
|
ENTRYPOINT ["fish"]
|