Giter Site home page Giter Site logo

ranglang / jupyter-scala Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anskarl/jupyter-scala

0.0 2.0 0.0 11 KB

Docker image for running Jupyter Notebooks for Scala

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 71.00% Makefile 13.38% Shell 15.62%

jupyter-scala's Introduction

Docker image for running Jupyter Notebooks for Scala

Features:

  • Completely dockerized environment
  • Extends Jupyter docker image jupyter/minimal-notebook:1145fb1198b2
  • Adds Oracle JDK version 8
  • Adds Almond kernels for Scala versions 2.11 and 2.12

For details regarding Jupyter docker image, visit jupyter/minimal-notebook docker repo. For details regarding Almond, visit the Github project page of Almond.

Pull docker image

To pull the latest version of the image:

docker pull anskarl/jupyter-scala:latest

If you like to pull a specific version, e.g., version 2.0.0:

docker pull anskarl/jupyter-scala:2.0.0

Start docker image

To start this docker image you can simply execute a docker run command that points to the anskarl/jupyter-scala:${IMAGE_VERSION}, where ${IMAGE_VERSION} is the version of this project (e.g., 2.0.0).

For simplicity you can run the following utility script:

./jupyter-scala.sh

This utility script creates an instance of anskarl/jupyter-scala:${IMAGE_VERSION} and binds the current working path inside the running container into /home/${NB_USER}/work, where ${NB_USER} is the unprivileged user of jupyter (default is joyvan, see details). Furthermore, since Almond uses Coursier for artifact fetching, this script uses a docker volume to store all downloaded dependencies (named as jupyter_scala_cache). The volume is automatically created if does not exists.

Build image locally

In order to build docker image locally, you can execute the following:

make image

After a successful build the resulting image is tagged as anskarl/jupyter-scala:${IMAGE_VERSION} and anskarl/jupyter-scala:latest, where ${IMAGE_VERSION} is the version of this project (e.g., 2.0.0)

jupyter-scala's People

Contributors

anskarl avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.