diff --git a/Dockerfile b/Dockerfile index 9bb0a8a..3ae404d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,9 @@ -FROM openjdk:8 +FROM openjdk:8-alpine LABEL maintainer="info@ninjaneers.de" LABEL "author"="Dennis Fricke" LABEL "company"="Ninjaneers GmbH" -RUN apt-get update -y && apt-get install -y unzip \ - && rm -rf /var/lib/apt/lists/* +RUN apk update && apk add unzip ADD https://ec.europa.eu/cefdigital/artifact/repository/esignaturedss/eu/europa/ec/joinup/sd-dss/dss-demo-bundle/5.5/dss-demo-bundle-5.5.zip /tmp RUN unzip /tmp/dss-demo-bundle-5.5.zip -d /tmp diff --git a/README.md b/README.md index 8ed26b6..9945c8b 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,15 @@ -# Docker container for eSignature of CEF Digital +# Docker container for Digital Signature Service (eSignature) of CEF Digital -see [eSignature Service](https://ec.europa.eu/cefdigital/wiki/display/CEFDIGITAL/DSS) +This Dockerfile will provide the current Digital Signature Service Demo of CEF in version 5.5 +@see [eSignature Service](https://ec.europa.eu/cefdigital/wiki/display/CEFDIGITAL/DSS) +## Usage -## Docker Hub +### Docker run +`docker run --rm --ti -p 8080:8080 ninjaneers/dss:latest` -[Repository](https://hub.docker.com/r/ninjaneers/dss) \ No newline at end of file + +### Docker Compose + +`docker-compose up` will expose DSS on http://localhost:8080 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8b450c0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: '3.6' + +services: + dss: + image: 'ninjaneers/dss:latest' + ports: + - '8080:8080' \ No newline at end of file