Skip to content

Commit 70554aa

Browse files
committed
feat: change build script
1 parent f744ca4 commit 70554aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ ARG TDVERSION_FULL=ver-${TDVERSION}
66
WORKDIR /tdengine
77

88
RUN apt-get update
9-
RUN apt-get install -y tzdata
9+
RUN apt-get install -y tzdata libgeos-dev
1010
RUN apt-get install -y gcc cmake build-essential git libssl-dev libgflags2.2 libgflags-dev libaprutil1-dev
1111
RUN apt-get install -y build-essential libjansson-dev libsnappy-dev liblzma-dev libz-dev zlib1g pkg-config
1212

1313
RUN git clone --depth=1 -b ${TDVERSION_FULL} https://github.com/taosdata/TDengine .
1414
RUN git submodule update --init --recursive
15-
RUN ./build.sh
15+
RUN mkdir debug && cd debug && cmake .. -DBUILD_JDBC=false -DBUILD_TOOLS=false -DBUILD_HTTP=false && make && make install
1616

1717

1818
FROM eclipse-temurin:${JDKVER}-jdk-focal

0 commit comments

Comments
 (0)