Skip to content

Commit

Permalink
update docker.nix file (#19)
Browse files Browse the repository at this point in the history
* update docker.nix file

* update docker.nix file

* update docker.nix file

* update docker.nix file

* update docker.nix file

* update docker.nix file
  • Loading branch information
pranshi06 authored Sep 20, 2024
1 parent 525bc09 commit 7e437a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
, lib
, package
, image-name
, pkgs
, architecture ? null
, tag ? null # defaults to the output hash
, extraConfig ? { } # see config options at: https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions
}:

let
seconds = 1000 * 1000 * 1000; # nanoseconds in 1 second
args = {
name = image-name;
created = "now";
contents = [ package ];
contents = [ pkgs.cacert package ];
config = {
Entrypoint = [
"/bin/${package.pname}"
Expand Down

0 comments on commit 7e437a8

Please sign in to comment.