Public | Automated Build

Last pushed: 3 years ago
Short Description
A docker image for the spark coding dojo from scala barcelona
Full Description

Scala barcelona Spark coding dodjo Dockerfile

This repository contains a Dockerfile to create a docker container with Java 1.8, Maven 3 and git



You can build the image from the Dockerfile or pull the image from the docker hub.

  1. Install Docker.

  2. Clone the project

  3. Build the image. The final dot is important, it's the path to Dockerfile. Replace morfeo8marc with your desired username (It takes a while):
    docker build -t morfeo8marc/scaladevbcn-spark-dojo .

Usage (two options)

1. Run container and clone git repo into container

docker run -i -t --name=spark-dojo <your_desired_username>/scaladevbcn-spark-dojo
git clone <your repo url>

2. Run container with git repo attached container (from host OS)

docker run -i -t --name docker-java8-maven -rm -v <your git repo directory>:/volume/git <your_desired_username>/docker-java8-maven

I would like to thank James D Bloom for his example container

Docker Pull Command