diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-06-24 07:53:06 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-06-24 07:53:06 +0200 |
commit | 37a9f6fa54fc8e237ea117d8d0e1480795c5c831 (patch) | |
tree | 4a7572c15c00be81a1696f90ad863d6b55cf0824 /flake.nix | |
parent | e7e05ed929c92c2b9d193f8193878c1a8a74c43c (diff) | |
download | guichet-37a9f6fa54fc8e237ea117d8d0e1480795c5c831.tar.gz guichet-37a9f6fa54fc8e237ea117d8d0e1480795c5c831.zip |
inject cacert
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -12,9 +12,6 @@ system = "x86_64-linux"; overlays = [ (import "${gomod2nix}/overlay.nix") - /*(self: super: { - gomod = super.callPackage "${gomod2nix}/builder/" { }; - })*/ ]; }; src = ./.; @@ -38,10 +35,16 @@ platforms = platforms.linux; }; }; + + container = pkgs.dockerTools.buildImage { name = "dxflrs/guichet"; + copyToRoot = pkgs.buildEnv { + name = "guichet-env"; + paths = [ guichet pkgs.cacert ]; + }; config = { - Entrypoint = "${guichet}/bin/guichet"; + Entrypoint = "/bin/guichet"; }; }; in { |