diff options
Diffstat (limited to 'nix/dev/docker.nix')
| -rw-r--r-- | nix/dev/docker.nix | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/nix/dev/docker.nix b/nix/dev/docker.nix deleted file mode 100644 index b209015..0000000 --- a/nix/dev/docker.nix +++ /dev/null @@ -1,25 +0,0 @@ -{withSystem, ...}: { - perSystem = { - lib, - pkgs, - self', - ... - }: let - containerFor = arch: - pkgs.dockerTools.buildLayeredImage { - name = "teawiebot"; - tag = "latest-${arch}"; - contents = [pkgs.dockerTools.caCertificates]; - config.Cmd = [ - (lib.getExe self'.packages."teawiebot-static-${arch}") - ]; - - architecture = withSystem "${arch}-linux" ({pkgs, ...}: pkgs.pkgsStatic.go.GOARCH); - }; - in { - packages = { - container-x86_64 = containerFor "x86_64"; - container-aarch64 = containerFor "aarch64"; - }; - }; -} |
