File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Alpine Linux with s6 service management
2
- FROM smebberson/alpine-base
2
+ FROM smebberson/alpine-base:3.2.0
3
3
4
4
# Install Apache2 and other stuff needed to access svn via WebDav
5
5
# Install svn
6
6
# Installing utilities for SVNADMIN frontend
7
7
# Create required folders
8
8
# Create the authentication file for http access
9
9
# Getting SVNADMIN interface
10
- RUN apk add --no-cache apache2 apache2-ctl apache2- utils apache2-webdav mod_dav_svn &&\
10
+ RUN apk add --no-cache apache2 apache2-utils apache2-webdav mod_dav_svn &&\
11
11
apk add --no-cache subversion &&\
12
12
apk add --no-cache wget unzip php7 php7-apache2 php7-session php7-json php7-ldap &&\
13
13
apk add --no-cache php7-xml &&\
@@ -23,6 +23,9 @@ RUN apk add --no-cache apache2 apache2-ctl apache2-utils apache2-webdav mod_dav_
23
23
ln -s /opt/svnadmin /var/www/localhost/htdocs/svnadmin &&\
24
24
chmod -R 777 /opt/svnadmin/data
25
25
26
+ # Solve a sicurity issue (https://alpinelinux.org/posts/Docker-image-vulnerability-CVE-2019-5021.html)
27
+ RUN sed -i -e 's/^root::/root:!:/' /etc/shadow
28
+
26
29
# Fixing https://github.com/mfreiholz/iF.SVNAdmin/issues/118
27
30
ADD svnadmin/classes/util/global.func.php /opt/svnadmin/classes/util/global.func.php
28
31
You can’t perform that action at this time.
0 commit comments