0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-25 12:50:54 +02:00

strong permissions

This commit is contained in:
Tilo Spannagel 2017-04-19 19:29:51 +02:00
parent 201d934bb6
commit d253cc1171
No known key found for this signature in database
GPG key ID: B89F1626A58E1429
16 changed files with 166 additions and 22 deletions

View file

@ -43,6 +43,11 @@ for latest in "${latests[@]}"; do
sed -ri -e '/a2enmod/d' "$version/$variant/Dockerfile"
fi
# Remove the assets folder if version >= 10.0
if version_greater_or_equal "$version" "10.0"; then
sed -ri -e '/assets/d' "$version/$variant/Dockerfile"
fi
# Copy the docker-entrypoint.
cp docker-entrypoint.sh "$version/$variant/docker-entrypoint.sh"