Add java-cacerts to zeppelin-base

This commit is contained in:
mahmoudelgamal 2016-10-23 23:59:33 +02:00
parent e642309878
commit e731cb4515
2 changed files with 5 additions and 2 deletions

View file

@ -43,7 +43,7 @@ You need to [install docker](https://docs.docker.com/engine/installation/) on yo
* To start Zeppelin, you need to pull the zeppelin release image:
```
docker pull ${DOCKER_USERNAME}/zeppelin-release:<release-version>
docker run --rm -p 8080:8080 -p 8081:8081 ${DOCKER_USERNAME}/zeppelin-release:<release-version> bash
docker run --rm -it -p 8080:8080 -p 8081:8081 ${DOCKER_USERNAME}/zeppelin-release:<release-version> bash
```
* Then a docker container will start with a Zeppelin release on path :
`/usr/local/zeppelin/`

View file

@ -17,7 +17,10 @@
FROM alpine:3.3
MAINTAINER Apache Software Foundation <dev@zeppelin.apache.org>
RUN apk add --update bash curl openjdk7-jre wget ca-certificates openssl && rm -rf /var/cache/apk/*
RUN apk add --update bash curl openjdk7-jre wget ca-certificates java-cacerts openssl \
&& rm /usr/lib/jvm/java-1.7-openjdk/jre/lib/security/cacerts \
&& ln -s /etc/ssl/certs/java/cacerts /usr/lib/jvm/java-1.7-openjdk/jre/lib/security/cacerts \
&& rm -rf /var/cache/apk/*
RUN wget -O /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.1.3/dumb-init_1.1.3_amd64
RUN chmod +x /usr/local/bin/dumb-init