Commit 3b5b8a6
committed
[MINOR][INFRA] Use
### 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
Closes #54219 from zhengruifeng/show_container_os.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>lsb_release -a to display the container os version1 parent eaa3378 commit 3b5b8a6
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
| 937 | + | |
937 | 938 | | |
938 | 939 | | |
939 | 940 | | |
| |||
1113 | 1114 | | |
1114 | 1115 | | |
1115 | 1116 | | |
1116 | | - | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
1117 | 1120 | | |
1118 | 1121 | | |
1119 | 1122 | | |
| |||
0 commit comments