Skip to content

Commit

Permalink
[CE-318] Fix user-dashboard image build fail
Browse files Browse the repository at this point in the history
Downgrade node version to 8.9 to fix build user dashboard image error.

Change-Id: Ifcf266fb5b5058159679cd994701e042943c9dac
Signed-off-by: Haitao Yue <[email protected]>
  • Loading branch information
hightall committed Mar 21, 2018
1 parent b467b37 commit 377b139
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions dockerhub/latest/user-dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
#
# SPDX-License-Identifier: Apache-2.0
#
FROM node:9.2 as build_login
FROM node:8.9 as build_login
MAINTAINER haitao yue "[email protected]"
RUN cd /tmp && git clone https://github.com/hyperledger/cello.git
RUN cp -r /tmp/cello/user-dashboard/js /app
RUN mkdir -p /usr/app
RUN cp -r /tmp/cello/user-dashboard /usr/app/src
RUN cd /app && npm install --loglevel http && npm run build

FROM node:9.2 as build_home
FROM node:8.9 as build_home
MAINTAINER haitao yue "[email protected]"
RUN cd /tmp && git clone https://github.com/hyperledger/cello.git
RUN cp -r /tmp/cello/user-dashboard/js /app
RUN mkdir -p /usr/app
RUN cp -r /tmp/cello/user-dashboard /usr/app/src
RUN cd /app/home && npm install --loglevel http && npm run build

FROM node:9.2 as build_dashboard
FROM node:8.9 as build_dashboard
MAINTAINER haitao yue "[email protected]"
RUN cd /tmp && git clone https://github.com/hyperledger/cello.git
RUN cp -r /tmp/cello/user-dashboard/js /app
RUN mkdir -p /usr/app
RUN cp -r /tmp/cello/user-dashboard /usr/app/src
RUN cd /app/dashboard && npm install --loglevel http && npm run build

FROM node:9.2
FROM node:8.9
MAINTAINER haitao yue "[email protected]"
RUN npm install -g requirejs
RUN cd /tmp && git clone https://github.com/hyperledger/cello.git
Expand Down
2 changes: 1 addition & 1 deletion user-dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
FROM node:9.2
FROM node:8.9
MAINTAINER haitao yue "[email protected]"
RUN npm install -g requirejs
COPY package.json /
Expand Down

0 comments on commit 377b139

Please sign in to comment.