Commit c37b8df4 authored by nanahira's avatar nanahira

install an easy config

parent 7a55a938
Pipeline #990 passed with stage
in 3 minutes and 22 seconds
...@@ -6,7 +6,8 @@ WORKDIR /usr/src/app ...@@ -6,7 +6,8 @@ WORKDIR /usr/src/app
COPY . ./ COPY . ./
RUN make -j$(nproc) && make install && \ RUN make -j$(nproc) && make install && \
mkdir -p /etc/dnsmasq.d /var/lib/misc mkdir -p /etc/dnsmasq.d /var/lib/misc && \
cp -rf ./docker/dnsmasq.conf /etc/dnsmasq.conf
EXPOSE 53 53/udp 67/udp 68/udp EXPOSE 53 53/udp 67/udp 68/udp
ENTRYPOINT [ "/usr/local/sbin/dnsmasq" ] ENTRYPOINT [ "/usr/local/sbin/dnsmasq" ]
......
port=53
strict-order
no-resolv
server=114.114.114.114
conf-dir=/etc/dnsmasq.d
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment