From c5d7fb01c1abdc5233f8675e61004558ebe4ac1b Mon Sep 17 00:00:00 2001 From: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> Date: Sun, 13 Aug 2023 14:05:25 +0800 Subject: [PATCH] chore: use FQIN in Dockerfile see: https://github.com/loopbackio/loopback-next/issues/9841 Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> --- docs/site/Application-generator.md | 2 +- examples/access-control-migration/Dockerfile | 2 +- examples/multi-tenancy/Dockerfile | 2 +- examples/references-many/Dockerfile | 2 +- examples/rest-crud/Dockerfile | 2 +- examples/socketio/Dockerfile | 2 +- examples/todo-jwt/Dockerfile | 2 +- examples/todo-list/Dockerfile | 2 +- examples/todo/Dockerfile | 2 +- packages/cli/generators/app/templates/Dockerfile | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/site/Application-generator.md b/docs/site/Application-generator.md index f7b6ffd295dc..5bfea27106e0 100644 --- a/docs/site/Application-generator.md +++ b/docs/site/Application-generator.md @@ -115,7 +115,7 @@ Here are the first two lines of the ``` # Check out https://hub.docker.com/_/node to select a new base image -FROM node:10-slim +FROM docker.io/library/node:18-slim ``` As the comment suggests, the Docker image name is only a default, and you are diff --git a/examples/access-control-migration/Dockerfile b/examples/access-control-migration/Dockerfile index 055f6a5447fb..e254238078d5 100644 --- a/examples/access-control-migration/Dockerfile +++ b/examples/access-control-migration/Dockerfile @@ -1,5 +1,5 @@ # Check out https://hub.docker.com/_/node to select a new base image -FROM node:18-slim +FROM docker.io/library/node:18-slim # Set to a non-root built-in user `node` USER node diff --git a/examples/multi-tenancy/Dockerfile b/examples/multi-tenancy/Dockerfile index 055f6a5447fb..e254238078d5 100644 --- a/examples/multi-tenancy/Dockerfile +++ b/examples/multi-tenancy/Dockerfile @@ -1,5 +1,5 @@ # Check out https://hub.docker.com/_/node to select a new base image -FROM node:18-slim +FROM docker.io/library/node:18-slim # Set to a non-root built-in user `node` USER node diff --git a/examples/references-many/Dockerfile b/examples/references-many/Dockerfile index 055f6a5447fb..e254238078d5 100644 --- a/examples/references-many/Dockerfile +++ b/examples/references-many/Dockerfile @@ -1,5 +1,5 @@ # Check out https://hub.docker.com/_/node to select a new base image -FROM node:18-slim +FROM docker.io/library/node:18-slim # Set to a non-root built-in user `node` USER node diff --git a/examples/rest-crud/Dockerfile b/examples/rest-crud/Dockerfile index 055f6a5447fb..e254238078d5 100644 --- a/examples/rest-crud/Dockerfile +++ b/examples/rest-crud/Dockerfile @@ -1,5 +1,5 @@ # Check out https://hub.docker.com/_/node to select a new base image -FROM node:18-slim +FROM docker.io/library/node:18-slim # Set to a non-root built-in user `node` USER node diff --git a/examples/socketio/Dockerfile b/examples/socketio/Dockerfile index 055f6a5447fb..e254238078d5 100644 --- a/examples/socketio/Dockerfile +++ b/examples/socketio/Dockerfile @@ -1,5 +1,5 @@ # Check out https://hub.docker.com/_/node to select a new base image -FROM node:18-slim +FROM docker.io/library/node:18-slim # Set to a non-root built-in user `node` USER node diff --git a/examples/todo-jwt/Dockerfile b/examples/todo-jwt/Dockerfile index 055f6a5447fb..e254238078d5 100644 --- a/examples/todo-jwt/Dockerfile +++ b/examples/todo-jwt/Dockerfile @@ -1,5 +1,5 @@ # Check out https://hub.docker.com/_/node to select a new base image -FROM node:18-slim +FROM docker.io/library/node:18-slim # Set to a non-root built-in user `node` USER node diff --git a/examples/todo-list/Dockerfile b/examples/todo-list/Dockerfile index 055f6a5447fb..e254238078d5 100644 --- a/examples/todo-list/Dockerfile +++ b/examples/todo-list/Dockerfile @@ -1,5 +1,5 @@ # Check out https://hub.docker.com/_/node to select a new base image -FROM node:18-slim +FROM docker.io/library/node:18-slim # Set to a non-root built-in user `node` USER node diff --git a/examples/todo/Dockerfile b/examples/todo/Dockerfile index 055f6a5447fb..e254238078d5 100644 --- a/examples/todo/Dockerfile +++ b/examples/todo/Dockerfile @@ -1,5 +1,5 @@ # Check out https://hub.docker.com/_/node to select a new base image -FROM node:18-slim +FROM docker.io/library/node:18-slim # Set to a non-root built-in user `node` USER node diff --git a/packages/cli/generators/app/templates/Dockerfile b/packages/cli/generators/app/templates/Dockerfile index 055f6a5447fb..e254238078d5 100644 --- a/packages/cli/generators/app/templates/Dockerfile +++ b/packages/cli/generators/app/templates/Dockerfile @@ -1,5 +1,5 @@ # Check out https://hub.docker.com/_/node to select a new base image -FROM node:18-slim +FROM docker.io/library/node:18-slim # Set to a non-root built-in user `node` USER node