Skip to content

Commit

Permalink
add dns server in entrypoint wechaty#84
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Nov 9, 2016
1 parent c350707 commit 61d67ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ RUN apk update && apk upgrade \
vim \
xauth \
xvfb \
&& echo -e 'nameserver 114.114.114.114\nnameserver 114.114.115.115' >> /etc/resolv.conf \
&& rm -rf /tmp/* /var/cache/apk/*

RUN mkdir /wechaty
Expand Down
3 changes: 3 additions & 0 deletions bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ HELP
}

function main() {
# issue #84
echo -e 'nameserver 114.114.114.114\nnameserver 114.114.115.115' >> /etc/resolv.conf

wechaty::banner
figlet Connecting
figlet ChatBots
Expand Down

0 comments on commit 61d67ad

Please sign in to comment.