Skip to content

Commit

Permalink
image(node): upgrade node:9.4-alpine to node:12-alpine
Browse files Browse the repository at this point in the history
Close #24

Signed-off-by: GIL B. Chan <bnbcmindnpass@gmail.com>
  • Loading branch information
jjangga0214 committed Dec 27, 2019
1 parent 0605862 commit 4d5270b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ See it in action, below or try it out in your browser using this [Katacoda scena

In addition to launching (Linux ELF) binaries directly, the following interpreted environments are currently supported:

- When you enter `node script.js`, a Node.js (default version: 9.4) environment is provided and `script.js` is executed.
- When you enter `node script.js`, a Node.js (default version: 12) environment is provided and `script.js` is executed.
- When you enter `python script.py`, a Python (default version: 3.6) environment is provided and the `script.py` is executed.
- When you enter `ruby script.rb`, a Ruby (default version: 2.5) environment is provided and the `script.rb` is executed.

Expand Down Expand Up @@ -190,7 +190,7 @@ Note that all three ways shown above are equivalent.
`kubed-sh` supports environments and within it variables—akin to what your local shell (bash, zsh, fish) does. There are some pre-defined environment variables which influence the creation of the cluster processes you create by either specifying a binary or interpreter and script:

- `BINARY_IMAGE` (default: `alpine:3.7`) … used for executing binaries
- `NODE_IMAGE` (default: `node:9.4-alpine`) … used for executing Node.js scripts
- `NODE_IMAGE` (default: `node:12-alpine`) … used for executing Node.js scripts
- `PYTHON_IMAGE` (default: `python:3.6-alpine3.7`) … used for executing Python scripts
- `RUBY_IMAGE` (default: `ruby:2.5-alpine3.7`) … used for executing Ruby scripts
- `SERVICE_PORT` (default: `80`) … used to expose long-running processes within the cluster
Expand Down
2 changes: 1 addition & 1 deletion cmdshelp.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func helpall() {
To run a program in the Kubernetes cluster, specify the binary
or call it with one of the following supported interpreters:
- Node.js … node script.js (default version: 9.4)
- Node.js … node script.js (default version: 12)
- Python … python script.py (default version: 3.6)
- Ruby … ruby script.rb (default version: 2.5)
`)
Expand Down
2 changes: 1 addition & 1 deletion envs.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type Environment struct {

const (
defaultBinaryImage = "alpine:3.7"
defaultNodeImage = "node:9.4-alpine"
defaultNodeImage = "node:12-alpine"
defaultPythonImage = "python:3.6-alpine3.7"
defaultRubyImage = "ruby:2.5-alpine3.7"
)
Expand Down

0 comments on commit 4d5270b

Please sign in to comment.