[fix](docker) Add docker ignore files and change docker default sourc… (#25696)
This commit is contained in:
7
.dockerignore
Normal file
7
.dockerignore
Normal file
@ -0,0 +1,7 @@
|
||||
be*
|
||||
fs_brokers*
|
||||
thirdparty*
|
||||
fe*
|
||||
.git*
|
||||
fs_brokers*
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user