From 0989df7fab39a7d0d817df04ae4ba738f02faf69 Mon Sep 17 00:00:00 2001 From: Andreas Schultz Date: Thu, 6 May 2021 11:20:50 +0200 Subject: [PATCH] Use latest OpenJDK jre for Docker image, improve README regarding building the Docker image --- Dockerfile | 2 +- README.md | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f671c8d32..c4544cd435 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ RUN \ mkdir -p /build/app \ && tar -xvzf /build/silk-workbench/target/universal/silk-workbench*.tgz -C /build/app -FROM openjdk:8u151-jre +FROM openjdk:8-jre ENV \ SILK_HOME="/opt/silk" \ WORKDIR="/opt/silk/workspace" \ diff --git a/README.md b/README.md index 389c085567..3ba4ab9363 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,12 @@ Downloading and installing sbt is not necessary as it is available from this dir ## Running the Silk Workbench as docker container - Build or pull the latest docker image: - - Build the docker image with: `docker build -t silkframework/silk-workbench:latest .` (This maybe take some minutes) + - Build the docker image with: + ``` + sbt universal:packageZipTarball + docker build -t silkframework/silk-workbench:latest . + ``` + (This maybe take some minutes) - Pull the docker image via: docker pull silkframework/silk-workbench - Run the docker container with: `docker run -d --name silk-workbench -p 80:80 silkframework/silk-workbench:latest` - In your browser, navigate to 'http://DOCKER_HOST:80'