add node env

Signed-off-by: Gong Sophia <sophia.gong@intel.com>
This commit is contained in:
Gong Sophia
2019-11-08 10:12:17 +08:00
committed by qzheng527
parent c4c70fa3b8
commit cff5e52231
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ FROM clearlinux/os-core:latest
COPY --from=builder /install_root /
ENV NAME="clearlinux-node"
COPY docker-entrypoint.sh /usr/bin/
RUN chmod +x /usr/bin/docker-entrypoint.sh
+1
View File
@@ -5,4 +5,5 @@ if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ]; then
set -- node "$@"
fi
echo "IMAGE NAME: $NAME"
exec "$@"