Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add Dockerfile #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]
Loading