News for hackers. Stuff that matters.
Re:Tarballs, the ultimate container image format by myWindoonn on Thursday May 17, 2018 @10:57AM (#17091821)
From memory, not tested, not spell-checked:

    FROM nixos/nix
    RUN nix-channel --update
    RUN nix-env -i python2.7-{twisted,treq,txgithub}
    WORKDIR /app
    ADD . /app
    EXPOSE 8080/tcp
    CMD python notify.py
The next level would be using the nixpkgs Docker builder directly: https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools

There are no comments on this comment yet.