From 110dfa78eadd904ace26f44bb87211c08640fac9 Mon Sep 17 00:00:00 2001 From: wangjingyu Date: Tue, 19 Mar 2024 15:01:20 +0800 Subject: [PATCH] feature: add Dockerfile --- actions/python-script/4.0/Dockerfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 actions/python-script/4.0/Dockerfile diff --git a/actions/python-script/4.0/Dockerfile b/actions/python-script/4.0/Dockerfile new file mode 100644 index 00000000..0f4a8a55 --- /dev/null +++ b/actions/python-script/4.0/Dockerfile @@ -0,0 +1,25 @@ +FROM ubuntu:latest + +# The original 4.0 version is missing. This is a simulation supplement and can be used normally +MAINTAINER jingzhi jingzhi736728@163.com> + +# Installation dependencies +RUN apt-get update -y && apt-get install -y python3 + +# Installing Python related libraries +RUN apt-get -y install python3-pip +RUN python3 -m pip install aliyun-python-sdk-core +RUN python3 -m pip install oss2 +RUN python3 -m pip install kafka-python +RUN python3 -m pip install redis +RUN python3 -m pip install elasticsearch +RUN python3 -m pip install thrift +RUN python3 -m pip install pyhive + +# Set up soft links +RUN ln -s /usr/bin/python3 /usr/bin/python + +# working directory +WORKDIR / + +CMD ["/bin/bash"] \ No newline at end of file