docker kette carte Debin 安装更换镜像 安装 libwebkitgtk-1.0-0
更改 镜像
mv /etc/apt/sources.list /etc/apt/sources.list.bak && \
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free" >/etc/apt/sources.list && \
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free" >>/etc/apt/sources.list && \
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free" >>/etc/apt/sources.list && \
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free" >>/etc/apt/sources.list && \
echo "deb http://cz.archive.ubuntu.com/ubuntu bionic main universe" >/etc/apt/sources.list
kettle 仓库地址
https://repo.orl.eng.hitachivantara.com/ui/native/pnt-mvn/pentaho-kettle/pdi-ce/7.1.0.31-241/pdi-ce-7.1.0.31-241.zip
镜像地址
FROM java:8
ARG SERVICE
ENV KETTLE_BASE=/apps/$SERVICE/ KETTLE_HOME=/apps/$SERVICE/data-integration PATH=$KETTLE_HOME:$PATH LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
ADD scripts/* /apps/$SERVICE/
WORKDIR /apps/$SERVICE
RUN wget https://repo.orl.eng.hitachivantara.com/artifactory/pnt-mvn/pentaho-kettle/pdi-ce/7.1.0.31-241/pdi-ce-7.1.0.31-241.zip && \
unzip pdi-ce-7.1.0.31-241.zip && \
rm pdi-ce-7.1.0.31-241.zip && \
chmod +x *.sh
RUN wget https://downloads.mysql.com/archives/get/p/3/file/mysql-connector-java-5.1.49.tar.gz && \
tar -zxvf mysql-connector-java-5.1.49.tar.gz && \
mv mysql-connector-java-5.1.49/mysql-connector-java-5.1.49.jar ./data-integration/lib/ && \
rm -rf mysql-connector-java-5.1.49 mysql-connector-java-5.1.49.tar.gz
RUN wget https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.jar && \
mv ojdbc6-11.2.0.4.jar /apps/$SERVICE/data-integration/lib/
ADD .kettle /apps/$SERVICE/data-integration/.kettle/
ADD carte-config-master.xml /apps/$SERVICE/data-integration/pwd/
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/17509090.html