diff options
| author | Cocoa Hoto <cocoa@hoto.us> | 2023-11-30 14:47:08 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-30 14:47:08 +0900 |
| commit | 4f6e0985423950d1ad1d279cb2c019cf8814828d (patch) | |
| tree | 51839a8f731899194eb39340e599c731b3e86a56 /Dockerfile | |
| parent | refactor(frontend): give local variable to explicit type annotation to avoid ... (diff) | |
| download | sharkey-4f6e0985423950d1ad1d279cb2c019cf8814828d.tar.gz sharkey-4f6e0985423950d1ad1d279cb2c019cf8814828d.tar.bz2 sharkey-4f6e0985423950d1ad1d279cb2c019cf8814828d.zip | |
fix(docker): cannot build docker image on some environments (#12494)
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 028a3976d2..38aa5bc7b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -67,8 +67,8 @@ RUN apt-get update \ && corepack enable \ && groupadd -g "${GID}" misskey \ && useradd -l -u "${UID}" -g "${GID}" -m -d /misskey misskey \ - && find / -type d -path /proc -prune -o -type f -perm /u+s -ignore_readdir_race -exec chmod u-s {} \; \ - && find / -type d -path /proc -prune -o -type f -perm /g+s -ignore_readdir_race -exec chmod g-s {} \; \ + && find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /u+s -ignore_readdir_race -exec chmod u-s {} \; \ + && find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /g+s -ignore_readdir_race -exec chmod g-s {} \; \ && apt-get clean \ && rm -rf /var/lib/apt/lists |