1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/datax/Dockerfile

20 lines
396 B
Docker
Raw Normal View History

2020-06-18 09:44:18 +02:00
#
# Dockerfile for datax
#
FROM openjdk:8-alpine
MAINTAINER EasyPi Software Foundation
WORKDIR /opt/datax
RUN set -xe \
&& apk add --no-cache curl python2 tar \
&& curl -sSL http://datax-opensource.oss-cn-hangzhou.aliyuncs.com/datax.tar.gz | tar xz --strip 1 \
&& bin/datax.py --help \
&& apk del curl tar
ENV PATH=/opt/datax/bin:$PATH
ENTRYPOINT ["datax.py"]
CMD ["--help"]