-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |