Skip to content

Commit b568eaf

Browse files
authored
Merge pull request #16 from mattsouth/version-nudges
version nudge for tomcat and xnat and small tidy ups in the tomcat service Dockerfile
2 parents 9c25b1a + d9a87f1 commit b568eaf

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This repository contains files to bootstrap XNAT deployment. The build creates f
3434
3. Download [latest XNAT WAR](https://bintray.com/nrgxnat/applications/XNAT/_latestVersion)
3535

3636
```
37-
wget --quiet --no-cookies https://bintray.com/nrgxnat/applications/download_file?file_path=xnat-web-1.7.4.war -O webapps/xnat.war
37+
wget --quiet --no-cookies https://bintray.com/nrgxnat/applications/download_file?file_path=xnat-web-1.7.4.1.war -O webapps/xnat.war
3838
```
3939

4040
4. Start the system
@@ -48,7 +48,7 @@ Note that at this point, if you go to `localhost/xnat` you won't see a working w
4848
to initialize the database, and you can follow progress by reading the docker compose log of the server:
4949

5050
```
51-
docker-compose logs -f --tail=20 xnat-web
51+
docker-compose logs -f --tail=20 xnat-web
5252
Attaching to xnatdockercompose_xnat-web_1
5353
xnat-web_1 | INFO: Starting Servlet Engine: Apache Tomcat/7.0.82
5454
xnat-web_1 | Oct 24, 2017 3:17:02 PM org.apache.catalina.startup.HostConfig deployWAR
@@ -126,7 +126,7 @@ docker exec -it $NAME cat /opt/tomcat/logs/catalina.2017-10-24.log
126126
Bring all the instances down (this will bring down all container and remove all the images) by running
127127

128128
```
129-
docker-compose down --rmi all
129+
docker-compose down --rmi all
130130
```
131131

132132
#### Bring up instances
@@ -150,4 +150,3 @@ docker-compose up -d
150150

151151

152152
Click on any subcontainer to view its metrics
153-

tomcat/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ MAINTAINER Manish Kumar <rishimanish123@gmail.com>
44

55
ARG LOCALE
66

7-
ENV TOMCAT_VERSION 7.0.79
8-
97
RUN apt-get -qq update && \
108
apt-get -q -y upgrade && \
119
apt-get install -y sudo curl wget locales
@@ -20,7 +18,7 @@ ENV LC_ALL $LOCALE.UTF-8
2018
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
2119

2220
ENV TOMCAT_MAJOR 7
23-
ENV TOMCAT_VERSION 7.0.82
21+
ENV TOMCAT_VERSION 7.0.85
2422
# Get Tomcat
2523
ENV TOMCAT_TGZ_URLS \
2624
https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz \
@@ -73,11 +71,5 @@ VOLUME "/opt/tomcat/webapps"
7371
ADD setenv.sh /opt/tomcat/bin
7472
WORKDIR /opt/tomcat
7573

76-
77-
#RUN wget --quiet --no-cookies https://bintray.com/nrgxnat/applications/download_file?file_path=xnat-web-1.7.0.war -O /opt/tomcat/xnat-web-1.7.0.war
78-
7974
# Launch Tomcat
8075
CMD ["/opt/tomcat/bin/catalina.sh", "run"]
81-
82-
#move xnat war to webapps
83-
#RUN mv /opt/tomcat/xnat-web-1.7.0.war /opt/tomcat/webapps

0 commit comments

Comments
 (0)