Coder Social home page Coder Social logo

docker-pdi's Introduction

Docker Pentaho Data Integration

Update to version 8.2 from 7.1 andrespp/docker-pdi (https://github.com/andrespp/docker-pdi)

Introduction

DockerFile for Pentaho Data Integration (a.k.a kettel / PDI)

This image is intendend to allow execution os PDI transformations and jobs throught command line and run PDI's UI (Spoon). PDI server (Carter) is available on this image.

Quick start

Basic Syntax

$ docker container run --rm fagos/pentaho-pdi-kettle

Usage:	/entrypoint.sh COMMAND

Pentaho Data Integration (PDI)

Options:
  runj filename		Run job file
  runt filename		Run transformation file
  spoon			    Run spoon (GUI)
  help		         Print this help

Running Transformations

$ docker container run --rm -v $(pwd):/jobs fagos/pentaho-pdi-kettle runt sample/dummy.ktr

Running Jobs

$ docker container run --rm -v $(pwd):/jobs fagos/pentaho-pdi-kettle runj  sample/dummy.kjb

Running Spoon (UI)

Using docker run

$ docker run -it --rm -v /tmp/.X11-unix/:/tmp/.X11-unix/:ro \
        -v $(pwd):/jobs \
        -e XAUTH=$(xauth list|grep `uname -n` | cut -d ' ' -f5) -e "DISPLAY" \
        --name spoon \
        fagos/pentaho-pdi-kettle spoon

Using startup script (Installing)

In order to run the container as if the application was installed locally, download the spoon script to a directory in you $PATH, for example:

$ sudo curl -fsSL https://raw.githubusercontent.com/andrespp/docker-pdi/master/spoon \
       -o /usr/local/bin/spoon
$ sudo chmod +x /usr/local/bin/spoon

Then you'll be able to run JupyterLab in the current directory simply by calling jlab:

$ spoon

Custom kettle.properties

In order to use a custom kettle.properties, you need to leave the file available in /jobs/kettle.properties.

$ # Custom properties in $(pwd)/kettle.properties
$ docker container run --rm -v $(pwd):/jobs fagos/pentaho-pdi-kettle runj  sample/dummy.kjb

Environment variables

This image uses several environment variables in order to control its behavior, and some of them may be required

Environment variable Default value Note
PDI_VERSION 8.2

Issues

If you have any problems with or questions about this image, please contact me through a GitHub issue.

docker-pdi's People

Contributors

andrespp avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

bibliothekar

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.