mirror of
https://github.com/vimagick/dockerfiles.git
synced 2026-01-04 20:14:56 +01:00
add datax
This commit is contained in:
19
datax/Dockerfile
Normal file
19
datax/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user