summaryrefslogtreecommitdiff
path: root/Containerfile-nix
diff options
context:
space:
mode:
Diffstat (limited to 'Containerfile-nix')
-rw-r--r--Containerfile-nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/Containerfile-nix b/Containerfile-nix
new file mode 100644
index 000000000..5eea71af6
--- /dev/null
+++ b/Containerfile-nix
@@ -0,0 +1,10 @@
+# vim: set syntax=dockerfile:
+FROM nixos/nix:latest
+
+RUN apk add --no-cache bash git
+
+COPY . /work
+WORKDIR work/nix
+RUN nix-build
+WORKDIR /
+RUN rm -rf work