blob: 8175e1781fcb3c16bfefb20e0aba5c6692c00c66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ lib, dockerTools }:
let
containerize =
teawie-bot:
let
inherit (teawie-bot.passthru) crossPkgs;
architecture = crossPkgs.go.GOARCH;
in
dockerTools.buildLayeredImage {
name = "teawie-bot";
tag = "latest-${architecture}";
contents = [ dockerTools.caCertificates ];
config.Cmd = [ (lib.getExe teawie-bot) ];
inherit architecture;
};
in
containerize
|