Skip to content

[MINOR][INFRA] Use lsb_release -a to display the container os version#54219

Closed
zhengruifeng wants to merge 2 commits intoapache:masterfrom
zhengruifeng:show_container_os
Closed

[MINOR][INFRA] Use lsb_release -a to display the container os version#54219
zhengruifeng wants to merge 2 commits intoapache:masterfrom
zhengruifeng:show_container_os

Conversation

@zhengruifeng
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Use lsb_release -a to display the container os version

Why are the changes needed?

uname -a always show the host os version

Does this PR introduce any user-facing change?

no, infra-only

How was this patch tested?

check in lint job which is currently based on ubuntu 22.04.

uname -a
lsb_release -a

outputs

Linux ffe3f795a8eb 6.11.0-1018-azure #18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.5 LTS
Release:	22.04
Codename:	jammy

https://github.com/zhengruifeng/spark/actions/runs/21808410627/job/62915850607

Was this patch authored or co-authored using generative AI tooling?

no

@zhengruifeng
Copy link
Copy Markdown
Contributor Author

thanks, merged to master

@zhengruifeng zhengruifeng deleted the show_container_os branch February 9, 2026 04:33
rpnkv pushed a commit to rpnkv/spark that referenced this pull request Feb 18, 2026
### What changes were proposed in this pull request?
Use `lsb_release -a` to display the container os version

### Why are the changes needed?
`uname -a` always show the host os version

### Does this PR introduce _any_ user-facing change?
no, infra-only

### How was this patch tested?
check in `lint` job which is currently based on ubuntu 22.04.

```
uname -a
lsb_release -a
```

outputs

```
Linux ffe3f795a8eb 6.11.0-1018-azure apache#18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.5 LTS
Release:	22.04
Codename:	jammy
```

https://github.com/zhengruifeng/spark/actions/runs/21808410627/job/62915850607

### Was this patch authored or co-authored using generative AI tooling?
no

Closes apache#54219 from zhengruifeng/show_container_os.

Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants