Skip to content
This repository has been archived by the owner on Jan 26, 2018. It is now read-only.

Commit

Permalink
Force native Go DNS resolution [CI SKIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski authored Aug 16, 2016
1 parent 4cbae5a commit affbaa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ EXPOSE 8000

ENV DATABASE_DRIVER=sqlite3
ENV DATABASE_DATASOURCE=/var/lib/lgtm/lgtm.sqlite
ENV GODEBUG=netdns=go

ADD lgtm /lgtm
ENTRYPOINT ["/lgtm"]

2 comments on commit affbaa8

@simonswine
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just hit this problem, would be great if this gets into an image soon.

:)

Btw in terms of debugging it would have been great if we had at least busybox inside the image

@bradrydzewski
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simonswine the image will get re-generated next time I push or merge something with master. In the mean time you can start the Docker image with --env "GODEBUG=netdns=go"

Please sign in to comment.