Update docker/Dockerfile.non_root

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Harshit Jain 2026-03-07 15:24:20 +05:30 committed by GitHub
parent 3d3d1bcf79
commit b226975ed2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,7 +124,8 @@ RUN for i in 1 2 3; do \
rm -rf "$d" && cp -rL "$GLOBAL/diff" "$d"; \
done \
&& find / -path "*/node_modules/npm/package.json" -exec \
sed -i 's/"tar": "\^7\.5\.[0-9]*"/"tar": "^7.5.10"/g; s/"minimatch": "\^10\.[0-9.]*"/"minimatch": "^10.2.4"/g' {} + 2>/dev/null && \
&& find / -path "*/node_modules/npm/package.json" -exec \
sed -i 's/"tar": "\^7\.5\.[0-9]*"/"tar": "^7.5.10"/g; s/"minimatch": "\^10\.[0-9.]*"/"minimatch": "^10.2.4"/g' {} + 2>/dev/null \
&& npm cache clean --force \
&& { apk del --no-cache npm 2>/dev/null || true; }