Skip to content

Commit

Permalink
build webdav image without chown command
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyzlj committed Jul 24, 2024
1 parent 4be2fc8 commit 80fd24b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/httpd-webdav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ jobs:
platforms: linux/amd64,linux/arm64
provenance: false
tags: |
${{ env.REGISTRY_ACR }}/${{ env.NAMESPACE_ACR }}/httpd-webdav:2.4
${{ env.REGISTRY_ACR }}/${{ env.NAMESPACE_ACR }}/httpd-webdav:2.4-no-chown
cache-from: type=gha
cache-to: type=gha,mode=max
2 changes: 1 addition & 1 deletion httpd-webdav/2.4/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ fi
# Create directories for Dav data and lock database.
[ ! -d "/var/lib/dav/data" ] && mkdir -p "/var/lib/dav/data"
[ ! -e "/var/lib/dav/DavLock" ] && touch "/var/lib/dav/DavLock"
chown -R www-data:www-data "/var/lib/dav"
#chown -R www-data:www-data "/var/lib/dav"

exec "$@"

0 comments on commit 80fd24b

Please sign in to comment.