synchronization
This commit is contained in:
21
datax-web/datax-executor/Dockerfile
Normal file
21
datax-web/datax-executor/Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM docker.io/library/openjdk:8
|
||||
|
||||
LABEL maintainer="Offends <offends4@163.com>"
|
||||
|
||||
ADD datax.tar.gz /
|
||||
ADD datax-web-2.1.2.tar.gz /
|
||||
|
||||
RUN /datax-web-2.1.2/bin/install.sh --force \
|
||||
&& rm -rf /datax-web-2.1.2/modules/datax-admin \
|
||||
&& rm -rf /datax-web-2.1.2/userGuid.md \
|
||||
&& rm -rf /datax-web-2.1.2/README.md \
|
||||
&& rm -rf /datax-web-2.1.2/packages
|
||||
|
||||
RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list \
|
||||
&& apt update && apt install python -y
|
||||
|
||||
COPY ./env.properties /datax-web-2.1.2/modules/datax-executor/bin/env.properties
|
||||
|
||||
RUN find /datax/plugin/* -type f -name "._*er" | xargs rm -rf
|
||||
|
||||
CMD /bin/bash -c "/datax-web-2.1.2/bin/start.sh -m datax-executor && sleep 3 && tail -f /datax-web-2.1.2/modules/datax-executor/data/applogs/executor/jobhandler/datax-executor.log"
|
Reference in New Issue
Block a user