forked from andrespp/docker-pdi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
39 lines (30 loc) · 1.19 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM openjdk:8
MAINTAINER Fabio Silva (v8.2)/Andre Pereira (v7.1)
# Set Environment Variables
ENV PDI_VERSION=8.2 PDI_BUILD=8.2.0.0-342 \
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/data-integration \
KETTLE_HOME=/data-integration
# Download PDI
RUN wget --progress=dot:giga http://downloads.sourceforge.net/project/pentaho/Pentaho%20${PDI_VERSION}/client-tools/pdi-ce-${PDI_BUILD}.zip \
&& unzip -q *.zip \
&& rm -f *.zip \
&& mkdir /jobs
# Aditional Drivers
WORKDIR $KETTLE_HOME
RUN wget https://downloads.sourceforge.net/project/jtds/jtds/1.3.1/jtds-1.3.1-dist.zip \
&& unzip jtds-1.3.1-dist.zip -d lib/ \
&& rm jtds-1.3.1-dist.zip \
&& wget https://github.com/FirebirdSQL/jaybird/releases/download/v3.0.4/Jaybird-3.0.4-JDK_1.8.zip \
&& unzip Jaybird-3.0.4-JDK_1.8.zip -d lib \
&& rm -rf lib/docs/ Jaybird-3.0.4-JDK_1.8.zip
# Install xauth
RUN apt-get update && apt-get install -y xauth\
vim libwebkitgtk-1.0-0
# First time run
RUN pan.sh -file ./plugins/platform-utils-plugin/samples/showPlatformVersion.ktr \
&& kitchen.sh -file samples/transformations/files/test-job.kjb
ENV EDITOR=vim
VOLUME /jobs
COPY ./entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["help"]