Created
December 23, 2022 13:12
-
-
Save gridhead/4f2481bfd5f731dc4a273999e22a539c to your computer and use it in GitHub Desktop.
Lightweight and multi-architecture Image for Dynamic DNS client to update NoIP services
This file contains 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 archlinux:latest | |
LABEL maintainer "Akashdeep Dhar <[email protected]>" | |
ENV DOWNLOAD https://www.noip.com/client/linux/noip-duc-linux.tar.gz | |
ENV FILENAME noip-duc-linux.tar.gz | |
ENV FINALDIR noip-2.1.9-1/ | |
WORKDIR /noip/ | |
RUN pacman-key --init | |
RUN pacman -Syu --noconfirm | |
RUN pacman -S make wget gcc --noconfirm | |
RUN wget $DOWNLOAD | |
RUN tar xvzf $FILENAME | |
RUN pwd && ls -lha | |
RUN cd /noip/$FINALDIR && make | |
ENTRYPOINT ["cd", "/noip/$FINALDIR", "&&", "make", "install"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment