From 49639504e97c0fd1163b8bc7b7a82abd1ff5bf0d Mon Sep 17 00:00:00 2001 From: James Macfie Date: Tue, 25 Feb 2020 20:01:53 +1300 Subject: [PATCH 1/6] Update Docker example to use most recent LTS --- locale/en/docs/guides/nodejs-docker-webapp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/en/docs/guides/nodejs-docker-webapp.md b/locale/en/docs/guides/nodejs-docker-webapp.md index 4b48adf353fd5..93b97479adea3 100644 --- a/locale/en/docs/guides/nodejs-docker-webapp.md +++ b/locale/en/docs/guides/nodejs-docker-webapp.md @@ -84,7 +84,7 @@ Here we will use the latest LTS (long term support) version `10` of `node` available from the [Docker Hub](https://hub.docker.com/): ```docker -FROM node:10 +FROM node:12 ``` Next we create a directory to hold the application code inside the image, this From 3166b20b5ed0a835167c8f2f1b99213c0eae838d Mon Sep 17 00:00:00 2001 From: James Macfie Date: Wed, 26 Feb 2020 09:04:51 +1300 Subject: [PATCH 2/6] Change NODE from v10 to v12 in more locales --- locale/en/docs/guides/nodejs-docker-webapp.md | 6 +++--- locale/ja/docs/guides/nodejs-docker-webapp.md | 12 ++++++------ locale/ko/docs/guides/nodejs-docker-webapp.md | 12 ++++++------ locale/ru/docs/guides/nodejs-docker-webapp.md | 8 ++++---- locale/zh-cn/docs/guides/nodejs-docker-webapp.md | 2 +- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/locale/en/docs/guides/nodejs-docker-webapp.md b/locale/en/docs/guides/nodejs-docker-webapp.md index 93b97479adea3..01bbe4acefa8a 100644 --- a/locale/en/docs/guides/nodejs-docker-webapp.md +++ b/locale/en/docs/guides/nodejs-docker-webapp.md @@ -80,7 +80,7 @@ touch Dockerfile Open the `Dockerfile` in your favorite text editor The first thing we need to do is define from what image we want to build from. -Here we will use the latest LTS (long term support) version `10` of `node` +Here we will use the latest LTS (long term support) version `12` of `node` available from the [Docker Hub](https://hub.docker.com/): ```docker @@ -143,7 +143,7 @@ CMD [ "node", "server.js" ] Your `Dockerfile` should now look like this: ```docker -FROM node:10 +FROM node:12 # Create app directory WORKDIR /usr/src/app @@ -194,7 +194,7 @@ $ docker images # Example REPOSITORY TAG ID CREATED -node 10 1934b0b038d1 5 days ago +node 12 1934b0b038d1 5 days ago /node-web-app latest d64d3505b0d2 1 minute ago ``` diff --git a/locale/ja/docs/guides/nodejs-docker-webapp.md b/locale/ja/docs/guides/nodejs-docker-webapp.md index 28757cc9600ce..323f40ed57f8d 100644 --- a/locale/ja/docs/guides/nodejs-docker-webapp.md +++ b/locale/ja/docs/guides/nodejs-docker-webapp.md @@ -155,11 +155,11 @@ touch Dockerfile Open the `Dockerfile` in your favorite text editor The first thing we need to do is define from what image we want to build from. -Here we will use the latest LTS (long term support) version `10` of `node` +Here we will use the latest LTS (long term support) version `12` of `node` available from the [Docker Hub](https://hub.docker.com/): ```docker -FROM node:10 +FROM node:12 ``` Next we create a directory to hold the application code inside the image, this @@ -216,7 +216,7 @@ CMD [ "node", "server.js" ] Your `Dockerfile` should now look like this: ```docker -FROM node:10 +FROM node:12 # Create app directory WORKDIR /usr/src/app @@ -250,10 +250,10 @@ touch Dockerfile 最初にしなければならないことは、どのイメージから構築したいかを定義することです。 ここでは[Docker Hub](https://hub.docker.com/)から入手できる -`node` の最新の LTS (long term support) バージョン `10` を使います。 +`node` の最新の LTS (long term support) バージョン `12` を使います。 ```docker -FROM node:10 +FROM node:12 ``` 次に、イメージ内にアプリケーションコードを入れるディレクトリを作成します。 @@ -311,7 +311,7 @@ CMD [ "node", "server.js" ] `Dockerfile` はこのようになっているはずです。 ```docker -FROM node:10 +FROM node:12 # アプリケーションディレクトリを作成する WORKDIR /usr/src/app diff --git a/locale/ko/docs/guides/nodejs-docker-webapp.md b/locale/ko/docs/guides/nodejs-docker-webapp.md index d4a79b21ee766..1d0612a81717f 100644 --- a/locale/ko/docs/guides/nodejs-docker-webapp.md +++ b/locale/ko/docs/guides/nodejs-docker-webapp.md @@ -151,11 +151,11 @@ touch Dockerfile Open the `Dockerfile` in your favorite text editor The first thing we need to do is define from what image we want to build from. -Here we will use the latest LTS (long term support) version `10` of `node` +Here we will use the latest LTS (long term support) version `12` of `node` available from the [Docker Hub](https://hub.docker.com/): ```docker -FROM node:10 +FROM node:12 ``` --> @@ -171,10 +171,10 @@ touch Dockerfile 가장 먼저 해야 할 것은 어떤 이미지를 사용해서 빌드할 것인지를 정의하는 것입니다. 여기서는 [Docker Hub](https://hub.docker.com/)에 있는 -`node`의 최신 LTS(장기 지원) 버전인 `10`을 사용할 것입니다. +`node`의 최신 LTS(장기 지원) 버전인 `12`을 사용할 것입니다. ```docker -FROM node:10 +FROM node:12 ```