Skip to content

Instantly share code, notes, and snippets.

@gridhead
Created December 23, 2022 13:12
Show Gist options
  • Save gridhead/4f2481bfd5f731dc4a273999e22a539c to your computer and use it in GitHub Desktop.
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
FROM archlinux:latest
LABEL maintainer "Akashdeep Dhar <t0xic0der@fedoraproject.org>"
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