Skip to content

Commit 0a2664c

Browse files
committed
fix(ci): update Node.js Docker image to 22-alpine for building JS assets
1 parent 94bca3b commit 0a2664c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.teamcity/kotlinlang/builds/BuildJsAssets.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@ object BuildJsAssets: BuildType({
2626
script {
2727
name = "Build assets"
2828
scriptContent = """
29-
#!/bin/bash
29+
#!/bin/sh
3030
set -e -x -u
3131
3232
# for node:18 we caught exception:
3333
# unhandledRejection TypeError: Failed to parse URL from /mnt/agent/work/75f6fbaeb8c41e25/node_modules/@wasm-codecs/mozjpeg/lib/mozjpeg.wasm
3434
# at Object.fetch (node:internal/deps/undici/undici:11730:11) {
3535
# [cause]: TypeError: Invalid URL
36-
export NODE_OPTIONS=--no-experimental-fetch
36+
#export NODE_OPTIONS=--no-experimental-fetch
3737
3838
yarn install --frozen-lockfile
3939
4040
NODE_ENV=production yarn run build
4141
""".trimIndent()
42-
dockerImage = "node:lts-slim"
42+
dockerImage = "node:22-alpine"
4343
dockerPull = true
4444
}
4545
}

0 commit comments

Comments
 (0)