File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:20.04
2+
3+ SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
4+
5+ WORKDIR /substrait
6+
7+ RUN DEBIAN_FRONTEND=noninteractive TZ=America/New_York apt-get update -y && apt-get upgrade -y \
8+ && apt-get install -y sudo apt-utils tzdata
9+ RUN dpkg-reconfigure tzdata
10+
11+ RUN DEBIAN_FRONTEND=noninteractive apt-get update -y && apt-get install -y git build-essential cmake
12+
13+ RUN echo "Cloning Substrait-CPP"
14+
15+ RUN git clone https://github.com/substrait-io/substrait-cpp.git \
16+ && cd substrait-cpp \
17+ && git submodule sync --recursive \
18+ && git submodule update --init --recursive
19+
20+ RUN echo $(pwd)
21+
22+ RUN cd substrait-cpp && echo $(ls)
23+
24+ RUN echo $(pwd)
25+
26+ # RUN useradd -ms /bin/bash substrait && adduser substrait sudo
27+
28+ # RUN chown substrait /substrait/substrait-cpp
29+
30+ # USER substrait
31+ RUN apt-get install wget
32+
33+ RUN cd substrait-cpp && ./scripts/setup-ubuntu.sh
34+
35+ ENTRYPOINT ["/bin/bash" ]
36+
37+
38+
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ DEPENDENCY_DIR=${DEPENDENCY_DIR:-$(pwd)}
1313
1414# Install all dependencies.
1515sudo --preserve-env apt install -y \
16+ wget \
1617 g++ \
1718 cmake \
1819 ccache \
You can’t perform that action at this time.
0 commit comments