Skip to content

Commit

Permalink
[fix](docker) Add docker ignore files and change docker default sourc… (
Browse files Browse the repository at this point in the history
  • Loading branch information
deardeng authored Oct 27, 2023
1 parent a3ac8b9 commit 6a62835
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
be*
fs_brokers*
thirdparty*
fe*
.git*
fs_brokers*

1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions docker/runtime/doris-compose/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 6a62835

Please sign in to comment.