[fix](docker) Add docker ignore files and change docker default sourc… (#25696)

This commit is contained in:
deardeng
2023-10-27 11:23:21 +08:00
committed by GitHub
parent a3ac8b98b8
commit 6a62835f7e
3 changed files with 11 additions and 0 deletions

7
.dockerignore Normal file
View File

@ -0,0 +1,7 @@
be*
fs_brokers*
thirdparty*
fe*
.git*
fs_brokers*

View File

@ -19,6 +19,7 @@ header:
- ".licenserc.yaml"
- ".rat-excludes"
- ".github/**"
- ".dockerignore"
- "be/src/common/status.cpp"
- "be/src/common/status.h"
- "be/src/env/env.h"

View File

@ -24,6 +24,9 @@ ENV JAVA_HOME="/usr/local/openjdk-8/"
ADD output /opt/apache-doris/
RUN sed -i s@/deb.debian.org/@/mirrors.aliyun.com/@g /etc/apt/sources.list
RUN apt-get clean
RUN apt-get update && \
apt-get install -y default-mysql-client python lsof tzdata && \
ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \