File tree 4 files changed +8
-4
lines changed
4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,8 @@ else(WIN32)
145
145
install (DIRECTORY deploy DESTINATION ./
146
146
PATTERN "*.sh"
147
147
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_READ WORLD_EXECUTE)
148
+ install (FILES ${PROJECT_BINARY_DIR} /bin/tars2case DESTINATION deploy)
149
+
148
150
ENDIF (WIN32 )
149
151
150
152
############################################################################################
Original file line number Diff line number Diff line change 4
4
- fix node monitor, check keepalive
5
5
- fix java class path
6
6
- add tarsregistry log
7
+ - fix build docker bug, copy tars2case to docker
7
8
8
9
### en
9
10
- 修改tarnode的监控逻辑, 增加keepalive的监控
10
11
- 修改tarsnode java path
11
12
- 增加tarsregistry日志
13
+ - 修复build docker的bug, copy tars2case到容器中
12
14
13
15
## v2.4.5 2020.08.21
14
16
### en
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM centos/systemd
2
2
3
3
# ENV MIRROR http://mirrors.cloud.tencent.com
4
4
ENV MIRROR http://mirrors.cloud.tencent.com
5
- ENV TARS_INSTALL /usr/local/tars/cpp/deploy/
5
+ ENV TARS_INSTALL /usr/local/tars/cpp/deploy
6
6
7
7
COPY centos7_base.repo /etc/yum.repos.d/
8
8
@@ -20,12 +20,12 @@ RUN echo 'NVM_DIR="$HOME/.nvm"; [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
20
20
RUN source $HOME/.bashrc \
21
21
&& export NVM_NODEJS_ORG_MIRROR=${MIRROR}/nodejs-release && nvm install v12.13.0
22
22
23
+ COPY tars2case ${TARS_INSTALL}/../tools/tars2case
23
24
COPY framework ${TARS_INSTALL}/framework
24
25
COPY tools ${TARS_INSTALL}/tools
25
26
COPY docker-init.sh tars-install.sh tar-server.sh web-install.sh mysql-tool ${TARS_INSTALL}/
26
27
27
-
28
- RUN ${TARS_INSTALL}/tar-server.sh
28
+ RUN chmod a+x ${TARS_INSTALL}/../tools/tars2case && ${TARS_INSTALL}/tar-server.sh
29
29
30
30
ENTRYPOINT [ "/usr/local/tars/cpp/deploy/docker-init.sh" ]
31
31
You can’t perform that action at this time.
0 commit comments