inject cacert
This commit is contained in:
parent
e7e05ed929
commit
37a9f6fa54
1 changed files with 7 additions and 4 deletions
11
flake.nix
11
flake.nix
|
@ -12,9 +12,6 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
overlays = [
|
overlays = [
|
||||||
(import "${gomod2nix}/overlay.nix")
|
(import "${gomod2nix}/overlay.nix")
|
||||||
/*(self: super: {
|
|
||||||
gomod = super.callPackage "${gomod2nix}/builder/" { };
|
|
||||||
})*/
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
@ -38,10 +35,16 @@
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
container = pkgs.dockerTools.buildImage {
|
container = pkgs.dockerTools.buildImage {
|
||||||
name = "dxflrs/guichet";
|
name = "dxflrs/guichet";
|
||||||
|
copyToRoot = pkgs.buildEnv {
|
||||||
|
name = "guichet-env";
|
||||||
|
paths = [ guichet pkgs.cacert ];
|
||||||
|
};
|
||||||
config = {
|
config = {
|
||||||
Entrypoint = "${guichet}/bin/guichet";
|
Entrypoint = "/bin/guichet";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Reference in a new issue