Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Dockerfile #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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