Skip to content

Commit

Permalink
Merge pull request #449 from silk-framework/fix/dockerOpenJDK8
Browse files Browse the repository at this point in the history
Use latest OpenJDK 8 jre for Docker image
  • Loading branch information
andreas-schultz authored May 6, 2021
2 parents eedcee0 + 0989df7 commit a4de589
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a4de589

Please sign in to comment.