-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dnsmasq as an optional container #8
base: legacy
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the proposition that's a good idea. I've added a few comment if you mind having a look.
|
||
ADD dnsmasq.conf /etc/ | ||
|
||
EXPOSE 53 53/udp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would probably avoid creating an image with a root user just in case.
#log all dns queries | ||
log-queries | ||
#dont use hosts nameservers | ||
no-resolv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we consider no-hosts
also ?
@@ -0,0 +1,51 @@ | |||
#!/usr/bin/env bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this part should added to pontsun-cli
rather than here ?
@@ -0,0 +1,8 @@ | |||
FROM alpine:edge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally this should not be part of this repo but available as a global image on the Liip docker registry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where would you put the Dockerfile then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe in a dedicated repo so it can be managed in parallel of Pontsun. But this can be later of course.
Up for discussion on the details
Not sure, if the
add-host.sh
is too much for this project, or if this should go to pontsun-cli.