Skip to content

Commit

Permalink
[deb] Add adduser as a dependency (#185048)
Browse files Browse the repository at this point in the history
adduser is used in the deb post install script. Installing kibana.deb in
a container won't have the necessary dependencies by default

Closes #182537

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
jbudz and elasticmachine authored Jul 22, 2024
1 parent e026c2a commit d8302eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/pipelines/pull_request/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ steps:
preemptible: true
key: build
if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''"
timeout_in_minutes: 60
timeout_in_minutes: 90
retry:
automatic:
- exit_status: '-1'
Expand Down
4 changes: 4 additions & 0 deletions src/dev/build/tasks/os_packages/create_os_package_tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,17 @@ export const CreateDebPackage: Task = {
'amd64',
'--deb-priority',
'optional',
'--depends',
' adduser',
]);

await runFpm(config, log, build, 'deb', 'arm64', [
'--architecture',
'arm64',
'--deb-priority',
'optional',
'--depends',
' adduser',
]);
},
};
Expand Down

0 comments on commit d8302eb

Please sign in to comment.