mirror of https://github.com/dnomd343/ClearDNS
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
343 B
12 lines
343 B
FROM alpine as asset
|
|
COPY ./asset.sh /
|
|
RUN apk --update add --no-cache curl wget && \
|
|
sh /asset.sh
|
|
|
|
FROM alpine
|
|
COPY ./init.sh /
|
|
COPY ./overture /etc/overture/
|
|
COPY --from=asset /tmp/asset/ /usr/bin/
|
|
RUN mkdir -p /etc/cleardns && \
|
|
sed -i '$i\0\t2\t*\t*\t*\t/etc/overture/update.sh' /var/spool/cron/crontabs/root
|
|
CMD ["sh","/init.sh"]
|
|
|