Skip to content

Commit

Permalink
update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Santana committed Jun 29, 2017
1 parent 0fb3e3f commit 4affcb3
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 47 deletions.
77 changes: 33 additions & 44 deletions core/nodejs6Action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,85 +1,74 @@
FROM nodejsactionbase

# based on https://github.com/nodejs/docker-node
#ENV NODE_VERSION 6.10.2
#ENV NODE_URL_DOWNLOAD https://nodejs.org/dist
#RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
# && tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
# && rm "node-v$NODE_VERSION-linux-x64.tar.gz"

ENV NODE_VERSION 6.10.2-rc.1
ENV NODE_URL_DOWNLOAD https://nodejs.org/download/rc
ENV NODE_VERSION 6.11.0
ENV NODE_URL_DOWNLOAD https://nodejs.org/dist

RUN curl -SLO "$NODE_URL_DOWNLOAD/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
&& tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
&& rm "node-v$NODE_VERSION-linux-x64.tar.gz"

# workaround for this: https://github.com/npm/npm/issues/9863
RUN cd $(npm root -g)/npm \
&& npm install fs-extra \
&& sed -i -e s/graceful-fs/fs-extra/ -e s/fs\.rename/fs\.move/ ./lib/utils/rename.js

WORKDIR /nodejsAction

# Install app dependencies
RUN rm -rf .project .settings build.xml Dockerfile README node_modules logs
RUN npm install .

RUN npm install \
[email protected] \
async@2.1.4 \
[email protected].1 \
async@2.5.0 \
[email protected].2 \
[email protected] \
[email protected] \
cloudant@1.7.1 \
commander@2.9.0 \
consul@0.28.0 \
cloudant@1.8.0 \
commander@2.10.0 \
consul@0.29.0 \
[email protected] \
[email protected] \
[email protected] \
[email protected].2 \
[email protected].2 \
[email protected].1 \
[email protected].3 \
[email protected].3 \
[email protected].2 \
[email protected] \
[email protected].2 \
[email protected].4 \
[email protected] \
[email protected].15 \
[email protected].18 \
[email protected] \
[email protected] \
moment@2.17.0 \
[email protected].25 \
moment@2.18.1 \
[email protected].29 \
[email protected] \
nano@6.2.0 \
[email protected].7 \
nodemailer@3.1.8 \
nano@6.3.0 \
[email protected].8 \
nodemailer@4.0.1 \
[email protected] \
openwhisk@3.4.1 \
openwhisk@3.6.0 \
[email protected] \
[email protected].9 \
[email protected].10 \
pug@">=2.0.0-beta11 <2.0.1" \
[email protected] \
request@2.79.0 \
[email protected].0 \
request@2.81.0 \
[email protected].1 \
[email protected] \
[email protected] \
sendgrid@5.0.0 \
[email protected].2 \
socket.io@1.7.3 \
socket.io-client@1.7.3 \
sendgrid@5.1.1 \
[email protected].3 \
socket.io@2.0.3 \
socket.io-client@2.0.3 \
[email protected] \
[email protected] \
[email protected] \
twilio@2.11.1 \
twilio@3.4.0 \
[email protected] \
uuid@3.0.0 \
validator@6.1.0 \
watson-developer-cloud@2.29.0 \
uuid@3.1.0 \
validator@7.2.0 \
watson-developer-cloud@2.32.1 \
[email protected] \
[email protected] \
ws@2.2.2 \
ws@3.0.0 \
[email protected] \
[email protected] \
[email protected]
[email protected] \
--save-exact \
&& npm cache clean

# See app.js
CMD node --expose-gc app.js
6 changes: 6 additions & 0 deletions core/nodejsActionBase/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
Dockerfile
build.gradle
.project
.settings
build.xml
README
node_modules
logs
6 changes: 3 additions & 3 deletions core/nodejsActionBase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "nodejsAction",
"version": "0.0.1",
"dependencies": {
"body-parser": "1.17.1",
"body-parser": "1.17.2",
"btoa": "1.1.2",
"express": "4.15.2",
"express": "4.15.3",
"log4js": "1.1.1",
"request": "2.79.0"
"request": "2.81.0"
}
}

0 comments on commit 4affcb3

Please sign in to comment.