Skip to content

Commit

Permalink
refactor(interactive): Eliminate dummy installation in the Dockerfile. (
Browse files Browse the repository at this point in the history
#4218)

Those dependencies are already installed in graphscope-dev
  • Loading branch information
zhanglei1949 authored Sep 11, 2024
1 parent 239b392 commit 0662b37
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions k8s/dockerfiles/flex-interactive.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,6 @@ WORKDIR /home/graphscope
# change bash as default
SHELL ["/bin/bash", "-c"]

# install arrow
RUN cd /tmp && sudo apt-get update && sudo apt-get install -y -V ca-certificates lsb-release wget libcurl4-openssl-dev && \
curl -o apache-arrow-apt-source-latest.deb https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
sudo apt-get install -y ./apache-arrow-apt-source-latest.deb && \
sudo apt-get update && sudo apt-get install -y libarrow-dev=15.0.2-1

RUN curl -sf -L https://static.rust-lang.org/rustup.sh | \
sh -s -- -y --profile minimal --default-toolchain=1.70.0 && \
chmod +x "$HOME/.cargo/env" && \
echo "$source $HOME/.cargo/env" >> ~/.bashrc && \
. ${HOME}/.cargo/env && \
cargo --version

RUN if [ "${ENABLE_OPENTELMETRY}" = "true" ]; then \
cd /tmp && git clone -b v1.14.2 --single-branch https://github.com/open-telemetry/opentelemetry-cpp && cd opentelemetry-cpp && \
cmake . -DCMAKE_INSTALL_PREFIX=/opt/flex -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_SHARED_LIBS=ON -DWITH_OTLP_HTTP=ON -DWITH_OTLP_GRPC=OFF -DWITH_ABSEIL=OFF -DWITH_PROMETHEUS=OFF -DBUILD_TESTING=OFF -DWITH_EXAMPLES=OFF && \
Expand Down

0 comments on commit 0662b37

Please sign in to comment.