frontend: make docker image whois client try to use config file

This commit is contained in:
Lan Tian 2023-09-07 00:51:56 -07:00
parent 4bd7a6bb95
commit 005dfb1435
No known key found for this signature in database
GPG Key ID: 04E66B6B25A0862B

View File

@ -15,7 +15,7 @@ RUN wget https://github.com/rfc1036/whois/archive/refs/tags/v5.5.18.tar.gz \
-O whois-5.5.18.tar.gz -O whois-5.5.18.tar.gz
RUN tar xvf whois-5.5.18.tar.gz \ RUN tar xvf whois-5.5.18.tar.gz \
&& cd whois-5.5.18 \ && cd whois-5.5.18 \
&& make -j4 LDFLAGS="-static" \ && make -j4 LDFLAGS="-static" CONFIG_FILE="/etc/whois.conf" \
&& strip /root/whois-5.5.18/whois && strip /root/whois-5.5.18/whois
################################################################################ ################################################################################