forked from tgmti/docker-pdi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
42 lines (33 loc) · 1.28 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
40
41
42
FROM openjdk:8
MAINTAINER Andre Pereira [email protected]
MAINTAINER Thiago Mota [email protected]
# Set Environment Variables
ENV PDI_VERSION=9.1 PDI_BUILD=9.1.0.0-324 \
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
# Additional 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
# Additional Setup
COPY ./setup.sh /
RUN chmod +x /setup.sh \
&& . /setup.sh
# Install xauth
RUN apt-get update && apt-get install -y xauth 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
#VOLUME /jobs
COPY ./entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["help"]