aboutsummaryrefslogtreecommitdiff
path: root/app/cryptpad/build/docker.nix
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-05-06 11:44:13 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-05-06 11:44:13 +0200
commitca55b15b5741731b520917e2a465973f7c14df60 (patch)
tree28b08f376293e4307d4df3229389f74775be20ac /app/cryptpad/build/docker.nix
parentb75d7c7841a4ed5b9ebef8a2d91ee6e64e3bf5bf (diff)
downloadnixcfg-ca55b15b5741731b520917e2a465973f7c14df60.tar.gz
nixcfg-ca55b15b5741731b520917e2a465973f7c14df60.zip
Add Cryptpad build and config
Diffstat (limited to 'app/cryptpad/build/docker.nix')
-rw-r--r--app/cryptpad/build/docker.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/cryptpad/build/docker.nix b/app/cryptpad/build/docker.nix
new file mode 100644
index 0000000..362e9ff
--- /dev/null
+++ b/app/cryptpad/build/docker.nix
@@ -0,0 +1,10 @@
+let
+ common = import ./common.nix;
+ pkgs = import common.pkgsSrc {};
+in
+ pkgs.dockerTools.buildImage {
+ name = "superboum/cryptpad";
+ config = {
+ Cmd = [ "${pkgs.cryptpad}/bin/cryptpad" ];
+ };
+ }