This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new fc9c77fe188 [fix](docker) Add docker ignore files and change docker 
default sourc… (#25696) (#26266)
fc9c77fe188 is described below

commit fc9c77fe1880dc58c20015ecefe323f3cc5295b3
Author: deardeng <[email protected]>
AuthorDate: Thu Nov 2 17:57:26 2023 +0800

    [fix](docker) Add docker ignore files and change docker default sourc… 
(#25696) (#26266)
---
 .dockerignore                           | 7 +++++++
 .licenserc.yaml                         | 1 +
 docker/runtime/doris-compose/Dockerfile | 3 +++
 3 files changed, 11 insertions(+)

diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 00000000000..733c3692a61
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,7 @@
+be*
+fs_brokers*
+thirdparty*
+fe*
+.git*
+fs_brokers*
+
diff --git a/.licenserc.yaml b/.licenserc.yaml
index 1aa1f270284..80bb232393c 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -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"
diff --git a/docker/runtime/doris-compose/Dockerfile 
b/docker/runtime/doris-compose/Dockerfile
index b930b106684..8bf5f051ed1 100644
--- a/docker/runtime/doris-compose/Dockerfile
+++ b/docker/runtime/doris-compose/Dockerfile
@@ -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 && \
     apt-get clean


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to