Skip to content

Commit

Permalink
Cleanup unused third party version (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu authored Mar 4, 2024
1 parent 3607bef commit e8adad3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ jobs:
push: true
build-args: |
VERSION=${{ matrix.os.version }}
THIRD_PARTY_VERSION=${{ github.event.client_payload.version }}
4 changes: 1 addition & 3 deletions Dockerfile.centos7
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM centos:7

ARG THIRD_PARTY_VERSION

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV LANG=en_US.utf8
Expand Down Expand Up @@ -79,7 +77,7 @@ RUN wget -qO- https://github.com/git/git/archive/v2.25.0.tar.gz | tar zxf - -C .
# Install nebula third-party 1.0 and 2.0 and 3.0 and 3.3
RUN git clone https://github.com/vesoft-inc/nebula-third-party.git \
&& cd nebula-third-party \
&& version=${THIRD_PARTY_VERSION} ./install-third-party.sh \
&& ./install-third-party.sh \
&& git checkout origin/release-3.3 \
&& ./install-third-party.sh \
&& git checkout origin/release-3.4-cloud \
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile.centos8
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM centos:8

ARG THIRD_PARTY_VERSION

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV LANG=en_US.utf8
Expand Down Expand Up @@ -82,7 +80,7 @@ RUN wget -qO- https://github.com/git/git/archive/v2.25.0.tar.gz | tar zxf - -C .
# Install nebula third-party 1.0 and 2.0 and 3.0 and 3.3
RUN git clone https://github.com/vesoft-inc/nebula-third-party.git \
&& cd nebula-third-party \
&& version=${THIRD_PARTY_VERSION} ./install-third-party.sh \
&& ./install-third-party.sh \
&& git checkout origin/release-3.3 \
&& ./install-third-party.sh \
&& git checkout origin/v3.0 \
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ ARG DEBIAN_FRONTEND=noninteractive
FROM ubuntu:${VERSION}

ARG VERSION=xenial
ARG THIRD_PARTY_VERSION

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
Expand Down Expand Up @@ -77,7 +76,7 @@ RUN wget -qO- https://github.com/git/git/archive/v2.25.0.tar.gz | tar zxf - -C .
# Install nebula third-party 1.0 and 2.0 and 3.0 and 3.3
RUN git clone https://github.com/vesoft-inc/nebula-third-party.git \
&& cd nebula-third-party \
&& version=${THIRD_PARTY_VERSION} ./install-third-party.sh \
&& ./install-third-party.sh \
&& git checkout origin/release-3.3 \
&& ./install-third-party.sh \
&& git checkout origin/release-3.4-cloud \
Expand Down

0 comments on commit e8adad3

Please sign in to comment.