apisix icon indicating copy to clipboard operation
apisix copied to clipboard

fix: can not get hostname in redhat

Open xuruidong opened this issue 11 months ago • 3 comments

Description

I use docker image apache/apisix:3.11.0-redhat , and get an error from the log: "sh: /bin/hostname: No such file or directory" image

Which issue(s) this PR fixes:

Fixes https://github.com/apache/apisix/issues/12270

Checklist

  • [ ] I have explained the need for this PR and the problem it solves
  • [ ] I have explained the changes or the new features added to this PR
  • [ ] I have added tests corresponding to this change
  • [ ] I have updated the documentation to reflect this change
  • [ ] I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

xuruidong avatar May 29 '25 12:05 xuruidong

Hi @xuruidong, can you create an issue first and include minimal steps to reproduce it?

Baoyuantop avatar May 30 '25 02:05 Baoyuantop

Hi @xuruidong, can you create an issue first and include minimal steps to reproduce it?

done

xuruidong avatar May 30 '25 03:05 xuruidong

Hi @xuruidong, please fix failed ci

Baoyuantop avatar Jun 16 '25 06:06 Baoyuantop