-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup the pw.mobilizingcs.org url (#903)
tweak the docker build to use openjdk8 bump the version
- Loading branch information
1 parent
524edb7
commit a9572f8
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FROM tomcat:7 | ||
FROM tomcat:7-jdk8-openjdk | ||
MAINTAINER Steve Nolen <[email protected]> | ||
# Report issues here: https://github.com/ohmage/server | ||
|
||
RUN set -x \ | ||
&& export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get update \ | ||
&& apt-get install --no-install-recommends -y openjdk-7-jdk ant ant-optional netcat git\ | ||
&& apt-get install --no-install-recommends -y ant ant-optional netcat git\ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& rm -rf /usr/local/tomcat/webapps/ROOT \ | ||
|
@@ -18,7 +18,7 @@ RUN set -x \ | |
|
||
#### download flyway (ohmage doesn't do migrations) #### | ||
WORKDIR /flyway | ||
ENV FLYWAY_TGZ_URL http://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/3.2.1/flyway-commandline-3.2.1.tar.gz | ||
ENV FLYWAY_TGZ_URL https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/4.2.0/flyway-commandline-4.2.0-linux-x64.tar.gz | ||
RUN set -x \ | ||
&& curl -fSL "$FLYWAY_TGZ_URL" -o flyway.tar.gz \ | ||
&& tar -xvf flyway.tar.gz --strip-components=1 \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters