[deb] Add adduser as a dependency (#185048)

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>
This commit is contained in:
Jon 2024-07-22 11:31:20 -05:00 committed by GitHub
parent e026c2a2a9
commit d8302eb2ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -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'

View file

@ -28,6 +28,8 @@ export const CreateDebPackage: Task = {
'amd64',
'--deb-priority',
'optional',
'--depends',
' adduser',
]);
await runFpm(config, log, build, 'deb', 'arm64', [
@ -35,6 +37,8 @@ export const CreateDebPackage: Task = {
'arm64',
'--deb-priority',
'optional',
'--depends',
' adduser',
]);
},
};