Skip to content

Commit

Permalink
feature: add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jing-zhi committed Mar 19, 2024
1 parent 1329655 commit 84c59f8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions actions/python-script/4.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM --platform=$BUILDPLATFORM ubuntu:latest

# The original 4.0 version is missing. This is a simulation supplement and can be used normally
MAINTAINER jingzhi [email protected]>

# 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"]

0 comments on commit 84c59f8

Please sign in to comment.