Skip to content

Commit

Permalink
install tini in Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch-si.com>
  • Loading branch information
thjaeckle committed Jun 18, 2018
1 parent 6098ed5 commit 0200968
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/Dockerfile
Expand Up @@ -18,7 +18,8 @@ RUN set -x \
&& cd $DITTO_HOME \
&& wget -q --show-progress -O ${SERVICE_STARTER}-${SERVICE_VERSION}-allinone.jar ${MAVEN_REPO}${SERVICE_STARTER}/${SERVICE_VERSION}/${SERVICE_STARTER}-${SERVICE_VERSION}-allinone.jar \
&& ln -s ${SERVICE_STARTER}-${SERVICE_VERSION}-allinone.jar starter.jar \
&& apk del .tmp-deps
&& apk del .tmp-deps \
&& apk add --no-cache tini

WORKDIR $DITTO_HOME
ENTRYPOINT ["java","-jar","starter.jar"]

0 comments on commit 0200968

Please sign in to comment.