diff --git a/docker/runtime/nodejs/lib/helper.js b/docker/runtime/nodejs/lib/helper.js index a1f0944d2..364a926f4 100644 --- a/docker/runtime/nodejs/lib/helper.js +++ b/docker/runtime/nodejs/lib/helper.js @@ -22,6 +22,7 @@ function loadFunc(name, additionalCode) { module: mod, __filename: modPath, __dirname: path.dirname(modPath), + Buffer, setInterval, setTimeout, setImmediate, clearInterval, clearTimeout, clearImmediate, console: console, diff --git a/pkg/langruntime/langruntime.go b/pkg/langruntime/langruntime.go index ad12dcb26..9986823ad 100644 --- a/pkg/langruntime/langruntime.go +++ b/pkg/langruntime/langruntime.go @@ -18,11 +18,11 @@ const ( python34Http = "kubeless/python@sha256:631b406ab9681fe0da9c281949a885a95b7d8c9cea4a48d7dfd0fa2c0576e23e" python34Pubsub = "kubeless/python-event-consumer@sha256:d963e4cd58229d662188d618cd87503b3c749b126b359ce724a19a375e4b3040" python34Init = "python:3.4" - node6Http = "kubeless/nodejs@sha256:2e63bc5e0b3f3fe951ef73e51dde18c8daae17d5f1880e472cb3dfc3f92cdc0b" - node6Pubsub = "kubeless/nodejs-event-consumer@sha256:07ab6ca66f5119e610471ccfec5e7995e5c21dbaf3dc622427acf07bc1a63147" + node6Http = "kubeless/nodejs@sha256:948f76df704724fc307a9a28773a4749ba54128f197c0edad077bffbc43527d0" + node6Pubsub = "kubeless/nodejs-event-consumer@sha256:6b411c6d0ba4ae05912cbf10f796719ccebaa78a1ae549ee7270847b9b8cc5f9" node6Init = "node:6.10" - node8Http = "kubeless/nodejs@sha256:4240d66e5b39b6bffa696b3922c18f729a342cc68105243ffec4a1b07448f755" - node8Pubsub = "kubeless/nodejs-event-consumer@sha256:121647252d6be08df36fc5cf17ac9683f2172b93fd8f21e7ffe7af00e9bb1bf1" + node8Http = "kubeless/nodejs@sha256:6be1ecef869283e3901a324f58eef26997f6424504111d7646b2aef50ddff1bb" + node8Pubsub = "kubeless/nodejs-event-consumer@sha256:eaf1e3aef627b6766892a66929b59d3e1a98a5db94c5fcf96b955043b1b4203c" node8Init = "node:8" ruby24Http = "kubeless/ruby@sha256:155a8cbd9a4e0e53efd8d3ea86f14098309a06ce1fca3b58265088460e8ad96c" ruby24Pubsub = "kubeless/ruby-event-consumer@sha256:37c2db19c8de7f953b1ab711a5e0cab0caa5229d2d9d56093eb0626e9933c047"