Skip to content

Commit

Permalink
change third party library
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu committed Oct 29, 2021
1 parent 319c810 commit 648a66b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
16 changes: 7 additions & 9 deletions Dockerfile.centos
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,13 @@ RUN wget -qO- https://github.com/git/git/archive/v2.25.0.tar.gz | tar zxf - -C .
&& make -j$(nproc) && make install \
&& cd ../ && rm -rf git-2.25.0

# Install nebula third-party 1.0
RUN git clone --depth 1 --branch v1-head --single-branch https://github.com/vesoft-inc/nebula.git \
&& ./nebula/third-party/install-third-party.sh \
&& rm -rf nebula

# Install nebula third-party 2.0
RUN git clone --depth 1 --branch master --single-branch https://github.com/vesoft-inc/nebula-third-party.git \
&& ./nebula-third-party/install-third-party.sh \
&& rm -rf nebula-third-party
# Install nebula third-party 1.0 and 2.0
RUN git clone https://github.com/vesoft-inc/nebula-third-party.git \
&& cd nebula-third-party \
&& ./install-third-party.sh \
&& git checkout v1.0 \
&& ./install-third-party.sh \
&& cd .. && rm -rf nebula-third-party

# Install ccache
RUN wget -qO- https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz | tar zxf - -C ./ \
Expand Down
16 changes: 7 additions & 9 deletions Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,13 @@ RUN wget -qO- https://github.com/git/git/archive/v2.25.0.tar.gz | tar zxf - -C .
&& make -j$(nproc) && make install \
&& cd ../ && rm -rf git-2.25.0

# Install nebula third-party 1.0
RUN git clone --branch v1-head --single-branch --depth 1 https://github.com/vesoft-inc/nebula.git \
&& ./nebula/third-party/install-third-party.sh \
&& rm -rf nebula

# Install nebula third-party 2.0
RUN git clone --depth 1 --branch master --single-branch https://github.com/vesoft-inc/nebula-third-party.git \
&& ./nebula-third-party/install-third-party.sh \
&& rm -rf nebula-third-party
# Install nebula third-party 1.0 and 2.0
RUN git clone https://github.com/vesoft-inc/nebula-third-party.git \
&& cd nebula-third-party \
&& ./install-third-party.sh \
&& git checkout v1.0 \
&& ./install-third-party.sh \
&& cd .. && rm -rf nebula-third-party

# Install ccache
RUN wget -qO- https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz | tar zxf - -C ./ \
Expand Down

0 comments on commit 648a66b

Please sign in to comment.