mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-08 04:04:42 +02:00
update dnsmasq (FIX #202)
This commit is contained in:
parent
566f5c6742
commit
fd0f973be8
@ -2,9 +2,9 @@
|
||||
# Dockerfile for dnsmasq
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
FROM alpine:3
|
||||
|
||||
MAINTAINER kev <norelply@easypi.pro>
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache dnsmasq-dnssec \
|
||||
|
@ -4,20 +4,4 @@ dnsmasq
|
||||
[Dnsmasq][1] is a Domain Name System forwarder and Dynamic Host Configuration
|
||||
Protocol server for small computer networks, created as free software.
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```yaml
|
||||
dnsmasq:
|
||||
image: vimagick/dnsmasq
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
- "67:67/udp"
|
||||
volumes:
|
||||
- ./dnsmasq.d:/etc/dnsmasq.d
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
restart: always
|
||||
```
|
||||
|
||||
[1]: http://www.thekelleys.org.uk/dnsmasq/doc.html
|
||||
|
@ -1,19 +0,0 @@
|
||||
#
|
||||
# Dockerfile for dnsmasq-arm
|
||||
#
|
||||
|
||||
FROM arm32v7/alpine:3
|
||||
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache dnsmasq-dnssec \
|
||||
&& echo "conf-dir=/etc/dnsmasq.d,*.conf" >> /etc/dnsmasq.conf
|
||||
|
||||
VOLUME /etc/dnsmasq.d
|
||||
|
||||
EXPOSE 53/tcp \
|
||||
53/udp \
|
||||
67/udp
|
||||
|
||||
ENTRYPOINT ["dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"]
|
@ -1,4 +0,0 @@
|
||||
no-hosts
|
||||
no-resolv
|
||||
cache-size=10000
|
||||
server=127.0.0.1#2053
|
@ -1,17 +0,0 @@
|
||||
dnsmasq:
|
||||
image: easypi/dnsmasq-arm
|
||||
volumes:
|
||||
- ./dnsmasq.conf:/etc/dnsmasq.d/dnsmasq.conf
|
||||
net: container:dnscrypt
|
||||
restart: always
|
||||
|
||||
dnscrypt:
|
||||
image: easypi/dnscrypt-proxy-arm
|
||||
command: dnscrypt-proxy -a 127.0.0.1:2053 -R cisco
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
- "67:67/udp"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
restart: always
|
@ -1,11 +1,13 @@
|
||||
dnsmasq:
|
||||
image: vimagick/dnsmasq
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
- "67:67/udp"
|
||||
volumes:
|
||||
- ./dnsmasq.d:/etc/dnsmasq.d
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
restart: always
|
||||
version: "3.8"
|
||||
services:
|
||||
dnsmasq:
|
||||
image: vimagick/dnsmasq
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
- "67:67/udp"
|
||||
volumes:
|
||||
- ./data:/etc/dnsmasq.d
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user