From c49c4dbaaa3e4ed1830175521ee8983ffae07b71 Mon Sep 17 00:00:00 2001 From: Stephan Stanisic Date: Mon, 13 Jun 2022 16:07:44 +0200 Subject: [PATCH] Initial commit --- .drone.yml | 16 ++++++++++++++++ Dockerfile | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 .drone.yml create mode 100644 Dockerfile diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..cfcd7a1 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: tag (latest) + image: plugins/docker + settings: + registry: auth.registry.steph.tools + username: drone + password: + from_secret: REGISTRY_PASS + repo: auth.registry.steph.tools/bewegend-leren/hdoc + tags: + - latest diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4a97cae --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM nixos/nix +RUN nix-channel --update +RUN nix-env -iA nixpkgs.nixFlakes +RUN echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf +RUN nix profile install 'git+https://github.com/hdoc/hdoc.git'