thkukuk / rpm2docserv

Extract manual pages and html docu from RPMs and build static webpages from it
Apache License 2.0
10 stars 4 forks source link

Replace hostname command #15

Closed tacerus closed 5 months ago

tacerus commented 5 months ago

"hostname" is not installed in the container, replace with Bash native HOSTNAME to avoid startup failure:

/docker-entrypoint.d/70-create-self-signed-certificates.sh: line 18: hostname: command not found
thkukuk commented 5 months ago

Normally the output of hostname -f and $HOSTNAME must not be identical, but it looks like in containers it is.

tacerus commented 5 months ago

Yes you are right, the alternative would be to install hostname in the container, but I figured it's not worth it for a dummy certificate.