forked from TencentBlueKing/bk-job
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.新增工具集基础镜像,含JDK与Python,migration镜像改为依赖工具集基础镜像; 2.为各Dockerfile添加版本标签dockerfile.version。
- Loading branch information
Showing
5 changed files
with
25 additions
and
7 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
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
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
FROM centos:7 | ||
|
||
LABEL maintainer="Tencent BlueKing Job" | ||
LABEL dockerfile.version="0.0.2" | ||
|
||
ENV LANG="en_US.UTF-8" | ||
|
||
|
20 changes: 20 additions & 0 deletions
20
support-files/kubernetes/images/backend/tool-set.Dockerfile
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,20 @@ | ||
FROM bkjob/os:0.0.2 | ||
|
||
LABEL maintainer="Tencent BlueKing Job" | ||
LABEL dockerfile.version="0.0.1" | ||
|
||
## 安装JDK | ||
RUN mkdir -p /data && \ | ||
cd /data/ &&\ | ||
curl -OL https://github.com/Tencent/TencentKona-8/releases/download/8.0.3-GA/TencentKona8.0.3.b2_jdk_linux-x86_64_8u262.tar.gz &&\ | ||
tar -xzf TencentKona8.0.3.b2_jdk_linux-x86_64_8u262.tar.gz &&\ | ||
rm -f TencentKona8.0.3.b2_jdk_linux-x86_64_8u262.tar.gz | ||
ENV JAVA_HOME=/data/TencentKona-8.0.3-262 | ||
ENV PATH=${JAVA_HOME}/bin:$PATH | ||
ENV CLASSPATH=.:${JAVA_HOME}/lib | ||
## 安装Python | ||
RUN yum install -y epel-release | ||
RUN yum install -y python-pip | ||
RUN mkdir -p /root/.pip | ||
RUN echo -e "[global]\nindex-url = https://pypi.tuna.tsinghua.edu.cn/simple\n[install]\ntrusted-host=pypi.tuna.tsinghua.edu.cn" > /root/.pip/pip.conf | ||
RUN pip install requests==2.6.0 |
3 changes: 2 additions & 1 deletion
3
support-files/kubernetes/images/migration/migration.Dockerfile
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