Improve DN42 related whois handling

This commit is contained in:
Lan Tian
2020-04-10 12:33:56 +08:00
parent cc121c8b49
commit 43f087e51b
6 changed files with 15 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ LABEL Lan Tian "lantian@lantian.pub"
ENV GOOS=linux GOARCH=amd64
WORKDIR /root
COPY . .
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y golang traceroute locales \
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y golang traceroute locales busybox \
&& cd /root && go build -o /proxy \
&& cd / && rm -rf /root/* \
&& printf "en_US.UTF-8 UTF-8\nzh_CN.UTF-8 UTF-8\n" > /etc/locale.gen \