a47bb20e44
Former-commit-id: cddbcef37ebe9a8f683659d87ba195da429d0fdd Former-commit-id: 48764647f6e538039f3d383742e89c8839e99174 [formerly d333233a4eb32cbc7f90c18819ba3720e7043730] [formerly 7ca3407d95caae0b3103da1f1244c5483914f9de [formerly dff7c158337a0ae0bd98de7605ae859e244db4cd [formerly f8846510486f822294202a97b5b1ea3e25025e3e] [formerly f8846510486f822294202a97b5b1ea3e25025e3e [formerly f8846510486f822294202a97b5b1ea3e25025e3e [formerly 3a4793bd556c88c063419220faae4669427c8493]]]]] Former-commit-id: cf5d3444897186021d40396f4fb8daa820954890 [formerly f92cbca0cf854f50ee1cb7373492709444a8e5fd] Former-commit-id: e3edb9ae9523575907d858e4f401c70042486368 Former-commit-id: 1b62171a793c665623c0dfb8a97d3104809dcf42 Former-commit-id: 737061cd2adeea521e2f1cf31d434dc73f6a6c27 Former-commit-id: ea9fa483b758dfc15959d7e14207620032c3f844 [formerly 92993f8c81db2d474afddd03bd24f679245c8032] Former-commit-id: 07bfbcf39b8c0f452f7c06001d4a141815a0f01c
15 lines
354 B
Text
15 lines
354 B
Text
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)
|