diff --git a/Dockerfile b/Dockerfile index 641fd1b..6e1b6fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,15 @@ -FROM alpine/latest +FROM alpine:latest RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.10/community" >> /etc/apk/repositories # install required packages -#RUN apk add --no-cache gcc libc-dev libffi-dev openssl openssl-dev python3-dev -RUN apk add --no-cache apache2 apache2-utils apache2-webdav mod_dav_svn subversion +#RUN apk add --no-cache gcc libc-dev libffi-dev openssl openssl-dev python3-dev +RUN apk add --no-cache openrc apache2 apache2-utils apache2-webdav mod_dav_svn subversion -ADD dav_svn.conf /etc/apache2/conf.d/dav_svn.conf \ No newline at end of file +ADD dav_svn.conf /etc/apache2/conf.d/dav_svn.conf + +RUN openrc +RUN touch /run/openrc/softlevel +RUN rc-update add apache2 + +ENTRYPOINT ["rc-service", "apache2", "restart"] \ No newline at end of file