Skip to content

Commit d11cad5

Browse files
feat(otp): Upgrade OTP from 1.3.0 to 1.4.0
1 parent 3cc9d9b commit d11cad5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

otp/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
FROM node:10-stretch-slim
1+
2+
FROM node:12-buster-slim
23

34
RUN mkdir -p /usr/share/man/man1 && apt-get update && \
45
apt-get install -y default-jdk wget && \
56
apt-get clean && rm -rf /var/lib/apt/lists/*
67

78
WORKDIR /app
8-
RUN wget https://repo1.maven.org/maven2/org/opentripplanner/otp/1.3.0/otp-1.3.0-shaded.jar
9+
RUN wget https://repo1.maven.org/maven2/org/opentripplanner/otp/1.4.0/otp-1.4.0-shaded.jar
910

1011
COPY ./ /app
1112

otp/start

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

33
cp -a /data/Graph.obj graphs/default
4-
java -Xmx8G -jar otp-1.3.0-shaded.jar --basePath $PWD --autoScan --server --autoReload
4+
java -Xmx8G -jar otp-1.4.0-shaded.jar --basePath $PWD --autoScan --server --autoReload

0 commit comments

Comments
 (0)