Skip to content

Commit

Permalink
update: exec shell
Browse files Browse the repository at this point in the history
  • Loading branch information
Takuya Murakami committed Nov 20, 2018
1 parent 5627070 commit a59e36b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.api
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ RUN cd /opt \
&& cp baas-server-$BAAS_VERSION/server/api.war /opt/tomcat/webapps/ \
&& /bin/rm -rf baas-server-$BAAS_VERSION*

CMD /bootstrap.sh
CMD ["/bootstrap.sh"]
2 changes: 1 addition & 1 deletion Dockerfile.both
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ RUN cd /opt \
&& cp baas-server-$BAAS_VERSION/server/*.war /opt/tomcat/webapps/ \
&& /bin/rm -rf baas-server-$BAAS_VERSION*

CMD /bootstrap.sh
CMD ["/bootstrap.sh"]
2 changes: 1 addition & 1 deletion Dockerfile.console
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ RUN cd /opt \
&& cp baas-server-$BAAS_VERSION/server/console.war /opt/tomcat/webapps/ \
&& /bin/rm -rf baas-server-$BAAS_VERSION*

CMD /bootstrap.sh
CMD ["/bootstrap.sh"]
2 changes: 1 addition & 1 deletion Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ RUN cd /opt \
&& cp baas-server-$BAAS_VERSION/server/%%SERVER_TYPE%%.war /opt/tomcat/webapps/ \
&& /bin/rm -rf baas-server-$BAAS_VERSION*

CMD /bootstrap.sh
CMD ["/bootstrap.sh"]
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ else
fi

# tomcat 起動 (foreground)
/opt/tomcat/bin/catalina.sh run
exec /opt/tomcat/bin/catalina.sh run

0 comments on commit a59e36b

Please sign in to comment.