diff --git a/Dockerfile b/Dockerfile index f9b7699..f350f30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM tatsushid/tinycore:6.4-x86 ENV CORE x86 -ENV NODE_VERSION 4.4.2 -ENV NPM_VERSION 3.8.6 +ENV NODE_VERSION 8.9.4 +ENV NPM_VERSION 5.8.0 RUN tce-load -wic gnupg curl \ && rm -rf /tmp/tce/optional/* @@ -39,6 +39,6 @@ RUN tce-load -wic coreutils \ sudo rm -f /usr/local/tce.installed/$INSTALLED; \ done \ && rm -rf /tmp/tce/optional/* \ - && sudo npm install -g npm@"$NPM_VERSION" \ - && sudo npm cache clear + && sudo npm install -g npm@"$NPM_VERSION" +WORKDIR /root USER root