@xcanwin/manyoyo 5.11.3 → 5.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/image-build.js +1 -1
- package/package.json +1 -1
package/lib/image-build.js
CHANGED
|
@@ -138,7 +138,7 @@ function prepareJdtlsBuildCache(ctx, cache, imageTool, arch) {
|
|
|
138
138
|
const alpineArch = arch === 'arm64' ? 'aarch64' : 'x86_64';
|
|
139
139
|
ctx.runCmd('curl', ['-fsSL', `https://mirrors.tencent.com/alpine/latest-stable/community/${alpineArch}/jdtls-1.58.0-r0.apk`, '-o', apkPath], { stdio: 'inherit' });
|
|
140
140
|
ctx.runCmd('tar', ['-xzf', apkPath, '-C', tmpDir], { stdio: 'inherit' });
|
|
141
|
-
ctx.runCmd('tar', ['-czf', jdtlsPath, '-C', path.join(tmpDir, 'usr', 'share', 'jdtls'), '.'], { stdio: 'inherit' });
|
|
141
|
+
ctx.runCmd('tar', ['-czf', jdtlsPath, '--no-xattrs', '-C', path.join(tmpDir, 'usr', 'share', 'jdtls'), '.'], { stdio: 'inherit' });
|
|
142
142
|
touchBuildCache(cache, jdtlsKey);
|
|
143
143
|
ctx.log(`${GREEN}✓ JDT LSP 下载完成${NC}`);
|
|
144
144
|
} catch (e) {
|