summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-07-02 17:52:12 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-07-05 11:52:03 +0200
commit6752b6d50faab447b3edc13bddf14f53401392f1 (patch)
tree953ed9998107f46d5892addc7266e39b3484fdfa /Dockerfile
parentfa7ffd9d1594a5bc9dba4fc65af0a4100988341b (diff)
runner: Use public API for scheduling simulation jobs
This change updates the web runner to not require direct database access for scheduling simulation jobs. Instead, the runner polls the public REST API for available jobs and reports its results through there.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 9fc64b41..bb9a0d0d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM openjdk:15-slim
+FROM openjdk:16-slim
MAINTAINER OpenDC Maintainers <opendc@atlarge-research.com>
# Obtain (cache) Gradle wrapper
@@ -11,7 +11,7 @@ RUN ./gradlew --version
COPY ./ /app/
RUN ./gradlew --no-daemon :installDist
-FROM openjdk:15-slim
+FROM openjdk:16-slim
COPY --from=0 /app/build/install /opt/
COPY --from=0 /app/traces /opt/opendc/traces
WORKDIR /opt/opendc