From 172c2cbf5468f95d3d06bb05eedbe3466a7062b3 Mon Sep 17 00:00:00 2001 From: Piotr Halama Date: Mon, 29 Apr 2024 08:05:23 +0200 Subject: [PATCH] remove user line --- components/runtimes/nodejs/nodejs18/Dockerfile | 2 -- components/runtimes/nodejs/nodejs20/Dockerfile | 2 -- 2 files changed, 4 deletions(-) diff --git a/components/runtimes/nodejs/nodejs18/Dockerfile b/components/runtimes/nodejs/nodejs18/Dockerfile index 7251e1b80..43d6be0dd 100644 --- a/components/runtimes/nodejs/nodejs18/Dockerfile +++ b/components/runtimes/nodejs/nodejs18/Dockerfile @@ -1,8 +1,6 @@ # image base on node:18.20.1-alpine3.19 FROM node@sha256:6d9d5269cbe4088803e9ef81da62ac481c063b60cadbe8e628bfcbb12296d901 -USER root - ARG NODE_ENV ENV NODE_ENV $NODE_ENV ENV npm_config_cache /tmp/ diff --git a/components/runtimes/nodejs/nodejs20/Dockerfile b/components/runtimes/nodejs/nodejs20/Dockerfile index ca086c858..b78672911 100644 --- a/components/runtimes/nodejs/nodejs20/Dockerfile +++ b/components/runtimes/nodejs/nodejs20/Dockerfile @@ -1,8 +1,6 @@ # image base on node:20.12.1-alpine3.19 FROM node@sha256:7e227295e96f5b00aa79555ae166f50610940d888fc2e321cf36304cbd17d7d6 -USER root - ARG NODE_ENV ENV NODE_ENV $NODE_ENV ENV npm_config_cache /tmp/