Skip to content

Commit

Permalink
build c-ares without test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
stickz committed Dec 21, 2023
1 parent a61e9a1 commit 863f5e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ RUN apk --update --no-cache add \
cppunit-dev \
gd-dev \
geoip-dev \
gtest \
libtool \
libxslt-dev \
linux-headers \
Expand Down Expand Up @@ -111,7 +110,7 @@ RUN tree ${DIST_PATH}

WORKDIR /usr/local/src/cares
COPY --from=src-cares /src .
RUN ./configure
RUN ./configure --disable-tests
RUN make -j$(nproc) CFLAGS="-O2 -flto"
RUN make install -j$(nproc)
RUN make DESTDIR=${DIST_PATH} install -j$(nproc)
Expand Down

0 comments on commit 863f5e3

Please sign in to comment.