From fd774d4edbbfc319b647c354b897f056027f2aa7 Mon Sep 17 00:00:00 2001 From: softdevnf Date: Mon, 5 Nov 2018 12:56:35 +0100 Subject: [PATCH] remove `-onbuild` suffix from node containers [deprecated] (#102) the node:X-onbuild images are deprecated (see https://github.com/docker-library/official-images/issues/2076 for more details) for the samples just rely on the base image --- node/express/kubernetes/Application/Dockerfile | 5 +++-- node/plain/kubernetes/Application/Dockerfile | 4 +--- node/sail.js/kubernetes/Application/Dockerfile | 4 +--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/node/express/kubernetes/Application/Dockerfile b/node/express/kubernetes/Application/Dockerfile index 1151060..0bba07d 100644 --- a/node/express/kubernetes/Application/Dockerfile +++ b/node/express/kubernetes/Application/Dockerfile @@ -1,5 +1,6 @@ -FROM node:8-onbuild -MAINTAINER Azure App Services Container Images +FROM node:8 +LABEL maintainer="Azure App Services Container Images " + ENV PORT 8080 EXPOSE 8080 diff --git a/node/plain/kubernetes/Application/Dockerfile b/node/plain/kubernetes/Application/Dockerfile index f512d3f..f3a578d 100644 --- a/node/plain/kubernetes/Application/Dockerfile +++ b/node/plain/kubernetes/Application/Dockerfile @@ -1,6 +1,4 @@ -FROM node:8-onbuild - -# FROM node:6.9.3 +FROM node:8 LABEL maintainer="Azure App Service Container Images " # Create app directory diff --git a/node/sail.js/kubernetes/Application/Dockerfile b/node/sail.js/kubernetes/Application/Dockerfile index ca18e9a..389bb9c 100644 --- a/node/sail.js/kubernetes/Application/Dockerfile +++ b/node/sail.js/kubernetes/Application/Dockerfile @@ -1,6 +1,4 @@ -FROM node:8-onbuild - -# FROM node:6.9.3 +FROM node:8 LABEL maintainer="Azure App Service Container Images " # Create app directory