Skip to content

Commit

Permalink
update docker.nix file
Browse files Browse the repository at this point in the history
  • Loading branch information
pranshi06 committed Sep 20, 2024
1 parent 22ded36 commit 98de72b
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 @@ -2,18 +2,18 @@
{ dockerTools
, lib
, package
, ca-certificates
, image-name
, architecture ? null
, tag ? null # defaults to the output hash
, extraConfig ? { } # see config options at: https:/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 = [ package ca-certificates ];
config = {
Entrypoint = [
"/bin/${package.pname}"
Expand Down

0 comments on commit 98de72b

Please sign in to comment.