From 43993f846b65ff355c23b75ebe591b12a1ae7704 Mon Sep 17 00:00:00 2001 From: x3m444 Date: Mon, 5 Feb 2024 21:39:15 +0200 Subject: [PATCH] Create Dockerfile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6d56ca9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM alpine:latest +MAINTAINER x3m444 +ENV TZ='Europe/Bucharest' +RUN apk update +RUN apk --no-cache add autoconf build-base automake git curl-dev curl pcre pcre-dev libxml2-dev libxml2 make +RUN mkdir /app/ +RUN cd /app +RUN git clone https://github.com/1100101/Automatic.git /app +WORKDIR /app +RUN ./autogen.sh +RUN ./configure +RUN make&make install +RUN mv src/automatic.conf-sample /etc/automatic.conf +RUN mkdir -p /app/config +RUN touch /app/config/automatic.state +VOLUME /config +ENTRYPOINT /usr/local/bin/automatic -f