diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-01-17 12:31:37 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-01-17 12:38:24 -0500 |
| commit | f9567626003bf741415308aa8d7ee3fa20382fb7 (patch) | |
| tree | 7995a7b619e49dd2343082150f8ac89f26dfe39e | |
| parent | 71d942d2664615d081d14037ad9930848f6a72b4 (diff) | |
| download | xesite-f9567626003bf741415308aa8d7ee3fa20382fb7.tar.xz xesite-f9567626003bf741415308aa8d7ee3fa20382fb7.zip | |
base docker image on alpine so fly ssh/sftp works
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | flake.lock | 13 | ||||
| -rw-r--r-- | flake.nix | 7 | ||||
| -rw-r--r-- | lume/src/_components/.gitignore | 1 |
3 files changed, 21 insertions, 0 deletions
@@ -1,5 +1,17 @@ { "nodes": { + "alpineLinux": { + "flake": false, + "locked": { + "narHash": "sha256-8xQGO1CqQbpkB8dapJbHiwr7taA+dGAYAZYdBurLhvA=", + "type": "file", + "url": "https://cdn.xeiaso.net/file/christine-static/hack/alpine-amd64-3.19.0.tar.gz" + }, + "original": { + "type": "file", + "url": "https://cdn.xeiaso.net/file/christine-static/hack/alpine-amd64-3.19.0.tar.gz" + } + }, "crane": { "inputs": { "nixpkgs": [ @@ -230,6 +242,7 @@ }, "root": { "inputs": { + "alpineLinux": "alpineLinux", "deno2nix": "deno2nix", "flake-compat": "flake-compat_2", "flake-utils": "flake-utils", @@ -27,6 +27,11 @@ typst.url = "github:typst/typst"; typst.inputs.nixpkgs.follows = "nixpkgs"; + + alpineLinux = { + flake = false; + url = "file+https://cdn.xeiaso.net/file/christine-static/hack/alpine-amd64-3.19.0.tar.gz"; + }; }; outputs = @@ -37,6 +42,7 @@ , iosevka , typst , gomod2nix + , alpineLinux , ... }: flake-utils.lib.eachSystem [ @@ -137,6 +143,7 @@ docker = pkgs.dockerTools.buildLayeredImage { name = "ghcr.io/xe/site/bin"; tag = "latest"; + fromImage = alpineLinux; contents = with pkgs; [ cacert typst-dev dhall-json deno pagefind ]; config = { Cmd = [ "${bin}/bin/xesite" "--data-dir=/data" ]; diff --git a/lume/src/_components/.gitignore b/lume/src/_components/.gitignore new file mode 100644 index 0000000..ac2b540 --- /dev/null +++ b/lume/src/_components/.gitignore @@ -0,0 +1 @@ +ads.njk
\ No newline at end of file |
