-
-
Notifications
You must be signed in to change notification settings - Fork 143
/
Dockerfile
33 lines (28 loc) · 865 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM alpine:latest
WORKDIR /root
COPY . ./
RUN apk --update --no-cache add --virtual .build-dependencies \
autoconf \
automake \
confuse-dev \
gcc \
gnutls-dev \
libc-dev \
libtool \
make
RUN ./autogen.sh
RUN ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
RUN make install
FROM alpine:latest
ARG revision=$revision
LABEL org.opencontainers.image.title="In-a-Dyn"
LABEL org.opencontainers.image.description="A dynamic DNS (DDNS) client with multiple SSL/TLS library support"
LABEL org.opencontainers.image.url="https://github.com/troglobit/inadyn"
LABEL org.opencontainers.image.licenses="GPL-2.0"
RUN apk --update --no-cache add \
ca-certificates \
confuse \
gnutls
COPY --from=0 /usr/sbin/inadyn /usr/sbin/inadyn
COPY --from=0 /usr/share/doc/inadyn /usr/share/doc/inadyn
ENTRYPOINT ["/usr/sbin/inadyn", "--foreground"]