Remove folder only deletes from current filesystem (#4653)

This commit is contained in:
Mike Degatano 2023-10-26 16:55:42 -04:00 committed by GitHub
parent 7361d39231
commit b04efe4eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ WORKDIR /usr/src
RUN \
set -x \
&& apk add --no-cache \
coreutils \
eudev \
eudev-libs \
git \

View File

@ -107,7 +107,7 @@ async def remove_folder(
proc = await asyncio.create_subprocess_exec(
"bash",
"-c",
f"rm -rf {del_folder}",
f"rm -rf --one-file-system {del_folder}",
stdout=asyncio.subprocess.DEVNULL,
env=clean_env(),
)