Skip to content

Commit

Permalink
fixup the pw.mobilizingcs.org url (#903)
Browse files Browse the repository at this point in the history
tweak the docker build to use openjdk8
bump the version
  • Loading branch information
stevenolen authored May 29, 2020
1 parent 524edb7 commit a9572f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
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 \
Expand All @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<property file="build.properties"/>
<property name="library" location="lib"/>
<property name="app_name" value="ohmage"/>
<property name="app_version" value="2.18.1"/>
<property name="app_version" value="2.18.2"/>
<property name="src" location="src"/>
<property name="test" location="test"/>
<property name="view" location="view"/>
Expand Down
2 changes: 1 addition & 1 deletion src/org/ohmage/request/user/UserSetupRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ public String getRandomUsername() throws ServiceException {
public String getRandomPassword() throws ServiceException {
try {
// Create the URL.
URL url = new URL("http://pw.mobilizingcs.org/password/simple/");
URL url = new URL("https://pw.mobilizingcs.org/password");
// Connect to the URL.
HttpURLConnection connection =
(HttpURLConnection) url.openConnection();
Expand Down

0 comments on commit a9572f8

Please sign in to comment.