Skip to content

Commit

Permalink
update baas server: 7.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Takuya Murakami committed Dec 11, 2018
1 parent 5ea374f commit f8a3470
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 60 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
ChangeLog
=========

2018-12-11 : ver 7.5.1
----------------------

* Update baas server: 7.5.1

2018-11-21 : ver 7.5.0
----------------------

Expand Down
9 changes: 3 additions & 6 deletions Dockerfile.api
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
FROM necbaas/tomcat

# Install BaaS Server
ENV BAAS_VERSION 7.5.0
RUN cd /opt \
&& wget --no-check-certificate https://github.com/nec-baas/baas-server/releases/download/v$BAAS_VERSION/baas-server-$BAAS_VERSION.tar.gz \
&& tar xzf baas-server-$BAAS_VERSION.tar.gz \
&& cp baas-server-$BAAS_VERSION/server/api.war /opt/tomcat/webapps/ \
&& /bin/rm -rf baas-server-$BAAS_VERSION*
ENV BAAS_VERSION 7.5.1
RUN cd /opt/tomcat/webapps \
&& wget --no-check-certificate https://github.com/nec-baas/baas-server/releases/download/v$BAAS_VERSION/api.war

# Add config files
RUN mkdir /etc/baas /var/log/baas
Expand Down
10 changes: 4 additions & 6 deletions Dockerfile.both
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM necbaas/tomcat

# Install BaaS Server
ENV BAAS_VERSION 7.5.0
RUN cd /opt \
&& wget --no-check-certificate https://github.com/nec-baas/baas-server/releases/download/v$BAAS_VERSION/baas-server-$BAAS_VERSION.tar.gz \
&& tar xzf baas-server-$BAAS_VERSION.tar.gz \
&& cp baas-server-$BAAS_VERSION/server/*.war /opt/tomcat/webapps/ \
&& /bin/rm -rf baas-server-$BAAS_VERSION*
ENV BAAS_VERSION 7.5.1
RUN cd /opt/tomcat/webapps \
&& wget --no-check-certificate https://github.com/nec-baas/baas-server/releases/download/v$BAAS_VERSION/api.war \
&& wget --no-check-certificate https://github.com/nec-baas/baas-server/releases/download/v$BAAS_VERSION/console.war

# Add config files
RUN mkdir /etc/baas /var/log/baas
Expand Down
9 changes: 3 additions & 6 deletions Dockerfile.console
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
FROM necbaas/tomcat

# Install BaaS Server
ENV BAAS_VERSION 7.5.0
RUN cd /opt \
&& wget --no-check-certificate https://github.com/nec-baas/baas-server/releases/download/v$BAAS_VERSION/baas-server-$BAAS_VERSION.tar.gz \
&& tar xzf baas-server-$BAAS_VERSION.tar.gz \
&& cp baas-server-$BAAS_VERSION/server/console.war /opt/tomcat/webapps/ \
&& /bin/rm -rf baas-server-$BAAS_VERSION*
ENV BAAS_VERSION 7.5.1
RUN cd /opt/tomcat/webapps \
&& wget --no-check-certificate https://github.com/nec-baas/baas-server/releases/download/v$BAAS_VERSION/console.war

# Add config files
RUN mkdir /etc/baas /var/log/baas
Expand Down
30 changes: 0 additions & 30 deletions Dockerfile.in

This file was deleted.

11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@ all: api console both
#download:
# @./download.sh

update: Dockerfile.api Dockerfile.console Dockerfile.both

Dockerfile.api: Dockerfile.in
@cat Dockerfile.in | sed "s/%%SERVER_TYPE%%/api/" > $@

Dockerfile.console: Dockerfile.in
@cat Dockerfile.in | sed "s/%%SERVER_TYPE%%/console/" > $@

Dockerfile.both: Dockerfile.in
@cat Dockerfile.in | sed "s/%%SERVER_TYPE%%/*/" > $@

api:
docker image build -t $(NAME_API) -f Dockerfile.api .

Expand Down
2 changes: 1 addition & 1 deletion download.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

BAAS_VERSION=7.5.0
BAAS_VERSION=7.5.1

if [ ! -e files/baas-server-$BAAS_VERSION ]; then
wget --no-check-certificate https://github.com/nec-baas/baas-server/releases/download/v$BAAS_VERSION/baas-server-$BAAS_VERSION.tar.gz
Expand Down

0 comments on commit f8a3470

Please sign in to comment.