Browse Source

next version of dockerfile

main
Holger Frey 3 years ago
parent
commit
1828af4825
  1. 14
      Dockerfile

14
Dockerfile

@ -1,9 +1,15 @@ @@ -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
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…
Cancel
Save