You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by 1ambda <gi...@git.apache.org> on 2017/04/19 22:57:57 UTC
[GitHub] zeppelin pull request #2264: [ZEPPELIN-1711] Create `Dockerfiles` for releas...
GitHub user 1ambda opened a pull request:
https://github.com/apache/zeppelin/pull/2264
[ZEPPELIN-1711] Create `Dockerfiles` for released bin
### What is this PR for?
Created `Dockerfile` for released bin
- based on ubuntu for desktop usage
- JDK 8
- Python 2
- miniconda2 for `%python.conda`
### Details
We already discussed about using alpine image https://github.com/apache/zeppelin/pull/1761.
- However, it's not designed for desktop usage
- Doesn't have some official packages (R, ...)
- Not familiar to users for desktop OS
That the reason why ubuntu is used in base image
```
zeppelin base b3818f9ae4b1 11 hours ago 1.67 GB
zeppelin 0.6.2 c0a4d8556f92 7 hours ago 2.29 GB
zeppelin 0.7.0 c4a5ad0d04bd 8 hours ago 2.5 GB
zeppelin 0.7.1 54173b77743b 7 hours ago 2.49 GB
```
### What type of PR is it?
[Feature]
### Todos
* [x] - base image
* [x] - script for creating bin images
* [x] - bin image template
### What is the Jira issue?
[ZEPPELIN-1711](https://issues.apache.org/jira/browse/ZEPPELIN-1711)
### How should this be tested?
1. build base image `cd scripts/docker/zeppelin/base; docker build -t zeppelin:base ./`
2. build bin image `cd scripts/docker/zeppelin/0.7.1; docker build -t zeppelin:0.7.1 ./`
3. execute docker images
```
docker run -p 8080:8080 --rm --name zeppelin zeppelin:0.7.1
```
since it takes time to build, you can use already [published docker images](https://hub.docker.com/r/1ambda/docker-zeppelin/)
```
docker run -p 8080:8080 --rm --name zeppelin 1ambda/docker-zeppelin:0.7.1
```
4. should be able to run spark tutorial, python tutorial and R tutorial
### Screenshots (if appropriate)
NO
### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/1ambda/zeppelin ZEPPELIN-1711/bin-dockerfile
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2264.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2264
----
commit 5cba56e02531130665a1dcc8321eae9a96ca87ed
Author: 1ambda <1a...@gmail.com>
Date: 2017-04-19T10:31:42Z
feat: Use ubuntu for base image
commit 0fc3f75f90b665b1ee81f68dd1ac3fef143eec33
Author: 1ambda <1a...@gmail.com>
Date: 2017-04-19T10:32:07Z
feat: Add template for bin image
commit 1f6da76b960f7f4c0961a447fa6344da6f20a213
Author: 1ambda <1a...@gmail.com>
Date: 2017-04-19T10:32:34Z
feat: Dockerfiles for 060, 070, 071
commit ced897f0ee12e62875126ceb6d3bb3a4646def43
Author: 1ambda <1a...@gmail.com>
Date: 2017-04-19T13:44:12Z
fix: DON'T remove /tmp
commit 69a0b1fefd98c2d0ff823b2e4f6f46a437b54ded
Author: 1ambda <1a...@gmail.com>
Date: 2017-04-19T15:10:57Z
docs: Update docker.md
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] zeppelin issue #2264: [ZEPPELIN-1711] Create `Dockerfile`s for released bin
Posted by 1ambda <gi...@git.apache.org>.
Github user 1ambda commented on the issue:
https://github.com/apache/zeppelin/pull/2264
@astroshim
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] zeppelin pull request #2264: [ZEPPELIN-1711] Create `Dockerfile`s for releas...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/zeppelin/pull/2264
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] zeppelin issue #2264: [ZEPPELIN-1711] Create `Dockerfile`s for released bin
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the issue:
https://github.com/apache/zeppelin/pull/2264
@1ambda great work!
LGTM and merge to master if no further discussions
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---