apisix
apisix copied to clipboard
fix: can not get hostname in redhat
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"
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)
Hi @xuruidong, can you create an issue first and include minimal steps to reproduce it?
Hi @xuruidong, can you create an issue first and include minimal steps to reproduce it?
done
Hi @xuruidong, please fix failed ci