Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TrumanDu committed Feb 28, 2019
1 parent 98b5f75 commit d27de70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions RCT-Analyze/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ ENV BASE_DIR /opt/app/rct/rct-analyze
WORKDIR ${BASE_DIR}
ENV RCT_NAME RCT-Analyze
ENV VERSION 2.0.0
RUN curl -fsSL -o ${BASE_DIR}/${RCT_NAME}-${VERSION}-release.tar https://github.com/xaecdb/RCT/archive/${RCT_NAME}-${VERSION}-release.tar && \
RUN curl -fsSL -o ${BASE_DIR}/${RCT_NAME}-${VERSION}-release.tar.gz https://github.com/xaecdb/RCT/archive/${RCT_NAME}-${VERSION}-release.tar.gz && \
cd ${BASE_DIR} && \
tar xvf ${RCT_NAME}-${VERSION}-release.tar && \
rm -rf ${RCT_NAME}-${VERSION}-release.tar
tar xvf ${RCT_NAME}-${VERSION}-release.tar.gz && \
rm -rf ${RCT_NAME}-${VERSION}-release.tar.gz
ADD start.sh ${BASE_DIR}
ADD start.sh ${BASE_DIR}
CMD ["sh","start.sh"]
6 changes: 3 additions & 3 deletions RCT-Dashboard/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ ENV BASE_DIR /opt/app/rct/rct-dashboard
WORKDIR ${BASE_DIR}
ENV RCT_NAME RCT-Dashboard
ENV VERSION 2.0.0
RUN curl -fsSL -o ${BASE_DIR}/${RCT_NAME}-${VERSION}-release.tar https://github.com/xaecdb/RCT/archive/${RCT_NAME}-${VERSION}-release.tar && \
RUN curl -fsSL -o ${BASE_DIR}/${RCT_NAME}-${VERSION}-release.tar.gz https://github.com/xaecdb/RCT/archive/${RCT_NAME}-${VERSION}-release.tar.gz && \
cd ${BASE_DIR} && \
tar xvf ${RCT_NAME}-${VERSION}-release.tar && \
rm -rf ${RCT_NAME}-${VERSION}-release.tar
tar xvf ${RCT_NAME}-${VERSION}-release.tar.gz && \
rm -rf ${RCT_NAME}-${VERSION}-release.tar.gz
ADD start.sh ${BASE_DIR}
CMD ["sh","start.sh"]

0 comments on commit d27de70

Please sign in to comment.