Skip to content

Commit 4da3cd1

Browse files
committed
RHAIENG-1186: chore(dockerfile): remove custom patch, change is already in code-sever
* coder/code-server#7418 Revert "increase available memory for the nodejs javascript vm (#2356)" This reverts commit e3f47c1.
1 parent 1547594 commit 4da3cd1

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

codeserver/ubi9-python-3.12/get_code_server_rpm.sh

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,29 +61,9 @@ if [[ "$ARCH" == "amd64" || "$ARCH" == "arm64" ||"$ARCH" == "ppc64le" ]]; then
6161
cd code-server
6262
source ${NVM_DIR}/nvm.sh
6363
while IFS= read -r src_patch; do echo "patches/$src_patch"; patch -p1 < "patches/$src_patch"; done < patches/series
64-
# https://github.com/microsoft/vscode/issues/243708#issuecomment-2750733077
65-
patch -p1 <<'EOF'
66-
diff --git i/package.json w/package.json
67-
index 925462fb087..dfff96eb051 100644
68-
--- code-server.orig/lib/vscode/package.json
69-
+++ code-server/lib/vscode/package.json
70-
@@ -32,7 +32,7 @@
71-
"watch-extensionsd": "deemon npm run watch-extensions",
72-
"kill-watch-extensionsd": "deemon --kill npm run watch-extensions",
73-
"precommit": "node build/hygiene.js",
74-
- "gulp": "node --max-old-space-size=8192 ./node_modules/gulp/bin/gulp.js",
75-
+ "gulp": "node --max-old-space-size=16384 --optimize-for-size ./node_modules/gulp/bin/gulp.js",
76-
"electron": "node build/lib/electron",
77-
"7z": "7z",
78-
"update-grammars": "node build/npm/update-all-grammars.mjs",
79-
EOF
8064
nvm use ${NODE_VERSION}
8165
npm install
8266
npm run build
83-
# https://github.com/coder/code-server/pull/7418
84-
# node: --optimize-for-size is not allowed in NODE_OPTIONS
85-
export NODE_OPTIONS="--max-old-space-size=16384"
86-
export TERSER_PARALLEL=2
8767
VERSION=${CODESERVER_VERSION/v/} npm run build:vscode
8868
npm run release
8969
npm run release:standalone

0 commit comments

Comments
 (0)