Created
December 24, 2016 19:49
-
-
Save arifnd/b194fb7c5019c16b95db05aefe537465 to your computer and use it in GitHub Desktop.
official no-ip Dynamic DNS Update client Dockerfile for Odroid C2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM arifnd/c2-alpine | |
| RUN apk add --update --virtual .build-dependencies tar build-base && \ | |
| wget -qO noip.tar.gz http://www.noip.com/client/linux/noip-duc-linux.tar.gz && \ | |
| mkdir noip && tar -C noip --strip-components=1 -xvf ./noip.tar.gz && \ | |
| cd noip && sed -i '/no-ip2/d' Makefile && make install && \ | |
| apk del .build-dependencies && rm -rf /var/cache/apk/* && rm ../noip.tar.gz | |
| CMD noip2; while pgrep noip > -; do echo "Process is running"; sleep 5; done; echo "No-ip has died"; exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment