Holger Frey
3 years ago
1 changed files with 10 additions and 4 deletions
@ -1,9 +1,15 @@ |
|||||||
FROM alpine/latest |
FROM alpine:latest |
||||||
|
|
||||||
RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.10/community" >> /etc/apk/repositories |
RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.10/community" >> /etc/apk/repositories |
||||||
|
|
||||||
# install required packages |
# install required packages |
||||||
#RUN apk add --no-cache gcc libc-dev libffi-dev openssl openssl-dev python3-dev |
#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 openrc apache2 apache2-utils apache2-webdav mod_dav_svn subversion |
||||||
|
|
||||||
ADD dav_svn.conf /etc/apache2/conf.d/dav_svn.conf |
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"] |
Loading…
Reference in new issue