Skip to content

Commit

Permalink
Added Dockerfile for nightly build (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhichang authored Dec 28, 2023
1 parent c0b316e commit 603f156
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ sudo systemctl start infinity
#### Deploy using Docker on Linux x86_64 and MacOS x86_64

```bash
docker pull infiniflow/infinity
docker run -d --name infinity -v /tmp/infinity/:/tmp/infinity --network=host infiniflow/infinity ./opt/bin/infinity
docker pull infiniflow/infinity:nightly
docker run -d --name infinity -v /tmp/infinity/:/tmp/infinity --network=host infiniflow/infinity:nightly
```


Expand Down
4 changes: 2 additions & 2 deletions Dockerfile → ...ts/Dockerfile_infinity_builder_ubuntu2310
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ RUN cargo install sqllogictest-bin

# CMake 3.28+ is requrired for C++20 modules.
# download https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-linux-x86_64.tar.gz
COPY cmake-3.28.1-linux-x86_64.tar.gz .
RUN tar xzf cmake-3.28.1-linux-x86_64.tar.gz && cp -rf cmake-3.28.1-linux-x86_64/bin/* /usr/local/bin && cp -rf cmake-3.28.1-linux-x86_64/share/* /usr/local/share && rm -fr cmake-3.28.1-linux-x86_64
RUN --mount=type=bind,source=cmake-3.28.1-linux-x86_64.tar.gz,target=/root/cmake-3.28.1-linux-x86_64.tar.gz \
cd /root && tar xzf cmake-3.28.1-linux-x86_64.tar.gz && cp -rf cmake-3.28.1-linux-x86_64/bin/* /usr/local/bin && cp -rf cmake-3.28.1-linux-x86_64/share/* /usr/local/share && rm -fr cmake-3.28.1-linux-x86_64

# build dependencies
RUN apt install -y liblz4-dev libboost1.81-dev liburing-dev libgflags-dev libevent-dev libthrift-dev
Expand Down

0 comments on commit 603f156

Please sign in to comment.