Nuke docker.io

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-03-11 21:04:37 +00:00
parent bdaac67bf2
commit 10e0980f8f
23 changed files with 521 additions and 68 deletions

View File

@@ -0,0 +1,18 @@
{ pkgs, ... }:
pkgs.dockerTools.buildImage {
name = "traefik";
fromImage = import ../base { inherit pkgs; };
copyToRoot = pkgs.buildEnv {
name = "root";
paths = with pkgs; [ traefik ];
pathsToLink = [ "/bin" ];
};
config = {
Entrypoint = [ "/bin/traefik" ];
ExposedPorts = {
"80/tcp" = { };
};
};
}