GithubHelp home page GithubHelp logo

spark-in-a-box / sparkr-build-sandbox Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 14 KB

Docker images for testing SparkR builds

License: MIT License

Python 35.14% R 8.20% Shell 25.42% Dockerfile 31.24%
apache-spark sparkr testing docker-image

sparkr-build-sandbox's Introduction

Docker images for testing SparkR builds

Building images

Run

docker build -f R_VERSION/Dockerfile .

using root of this repository as the context.

Usage

Entry point takes following arguments

usage: entrypoint.py [-h] [--branch BRANCH] [--commit COMMIT]
                     [--action {build-and-test,resolve-dependencies}]
                     [--public-key PUBLIC_KEY]
                     user

positional arguments:
  user                  GitHub username

optional arguments:
  -h, --help            show this help message and exit
  --branch BRANCH       Branch to fetch
  --commit COMMIT       Commit hash
  --action {build-and-test,resolve-dependencies}
  --public-key PUBLIC_KEY
                        URL pointing to GPG key used to sign the commit

resolve-dependencies action can be used to prefetch Maven dependencies. The result can be committed and use a base for actual testing image.

Rendering of new images

render.py script can be used to generate new Dockerfiles.

usage: render.py [-h] versions [versions ...]

positional arguments:
  versions    Must correspond to one of the tags from
              https://hub.docker.com/r/rocker/verse/tags

optional arguments:
  -h, --help  show this help message and exit

Versions

Tag / R version Based on OS JDK Arrow
3.4.4 rocker/verse:3.4.4 Debian GNU/Linux Stretch 8 0.15.1
3.5.3 rocker/verse:3.5.3 Debian GNU/Linux Stretch 8 0.15.1
3.6.2 rocker/verse:3.6.2 Debian GNU/Linux Buster 11 0.15.1

Notes

Images published to Docker Hub are not automatically synced, to avoid possible dependency conflicts.

sparkr-build-sandbox's People

Contributors

zero323 avatar

Stargazers

 avatar  avatar  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.