2bc2757199
Former-commit-id: e3fd836585b0a1628309f4eab4a8a27d854e776a Former-commit-id: 39caa93273eb5724e41170f2b603085dfca19117 [formerly 5e19a3df6eacdaa38976508ef89178450819d6b5] [formerly dc756d524826e1ad9caad2ba34c9ed6babeb3cee [formerly b6af610b97cd1fa8e3b8afa21f8cfc1af1049453 [formerly b6af610b97cd1fa8e3b8afa21f8cfc1af1049453 [formerly b6af610b97cd1fa8e3b8afa21f8cfc1af1049453 [formerly 5ba47f294f5d5ef0f139684036e35c2b66b82753]]]]] Former-commit-id: 6fbca32baa17005d86a2b1750002a7400482cb67 [formerly ff0a77393347bc2261a63cf37808d780dcd7ad61] Former-commit-id: cc139e3301af26d7b1771c549cb033ac6a05be73 Former-commit-id: c0467e343a58a7ce1dabb8ae920c41d7f84906b0 Former-commit-id: 19b642c8e1bfb8bca73104716288e990796c83e8 Former-commit-id: 4628ffc716c898122734d212887d9562c3ae39fa [formerly 519a9a1031f10ce2a0664712e95c4a49a63f0e06] Former-commit-id: 058b5f97606ed6ee74517e8b8c953188fe39267b
15 lines
354 B
Docker
15 lines
354 B
Docker
FROM nixos/nix as builder
|
|
MAINTAINER github@erebe.eu
|
|
|
|
RUN nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
|
|
RUN nix-channel --update
|
|
RUN nix-env -i bash upx
|
|
|
|
WORKDIR /mnt
|
|
COPY stack.yaml /mnt
|
|
COPY *.cabal /mnt
|
|
COPY default.nix /mnt
|
|
|
|
RUN nix-build --no-link -A fullBuildScript
|
|
COPY . /mnt
|
|
RUN $(nix-build --no-link -A fullBuildScript)
|