Skip to content

Commit c77456c

Browse files
authored
Add environments PUID/PGID of /var/lib/dav folder.
BytemarkHosting#28
1 parent 1813f3a commit c77456c

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

2.4/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ RUN set -ex; \
1313
# Create directories for Dav data and lock database.
1414
mkdir -p "/var/lib/dav/data"; \
1515
touch "/var/lib/dav/DavLock"; \
16-
chown -R www-data:www-data "/var/lib/dav"; \
1716
\
1817
# Enable DAV modules.
1918
for i in dav dav_fs; do \
@@ -30,11 +29,6 @@ RUN set -ex; \
3029
sed -i -e "/^#LoadModule ${i}_module.*/s/^#//" "conf/httpd.conf"; \
3130
done; \
3231
\
33-
# Run httpd as "www-data" (instead of "daemon").
34-
for i in User Group; do \
35-
sed -i -e "s|^$i .*|$i www-data|" "conf/httpd.conf"; \
36-
done; \
37-
\
3832
# Include enabled configs and sites.
3933
printf '%s\n' "Include conf/conf-enabled/*.conf" \
4034
>> "conf/httpd.conf"; \

0 commit comments

Comments
 (0)