-
Notifications
You must be signed in to change notification settings - Fork 13
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 ubuntu:latest | ||
|
||
# The original 4.0 version is missing. This is a simulation supplement and can be used normally | ||
MAINTAINER jingzhi [email protected]> | ||
|
||
# 安装依赖 | ||
RUN apt-get update -y && apt-get install -y python3 | ||
|
||
# 安装 Python 相关库 | ||
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 | ||
|
||
# 设置软链接 | ||
RUN ln -s /usr/bin/python3 /usr/bin/python | ||
|
||
# 设置工作目录 | ||
WORKDIR / | ||
|
||
CMD ["/bin/bash"] |