File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515# specific language governing permissions and limitations
1616# under the License.
1717
18- FROM debian:bookworm -slim AS build
18+ FROM debian:trixie -slim AS build
1919
2020ARG MORE_BUILD_ARGS
2121ENV DEBIAN_FRONTEND=noninteractive
2222
23- RUN apt-get update && apt-get upgrade -y && apt-get -y --no-install-recommends install git build-essential autoconf cmake libtool python3 libssl-dev clang && apt-get autoremove && apt-get clean
23+ RUN apt-get update && apt-get upgrade -y && apt-get -y --no-install-recommends install git build-essential autoconf cmake libtool python3 libssl-dev clang ca-certificates && apt-get autoremove && apt-get clean
2424
2525WORKDIR /kvrocks
2626
2727COPY . .
28- RUN ./x.py build --compiler=clang -DENABLE_OPENSSL=ON -DPORTABLE=1 -DCMAKE_BUILD_TYPE=Release -j $(nproc) $MORE_BUILD_ARGS
28+ RUN ./x.py build --compiler=clang -DCMAKE_EXE_LINKER_FLAGS= "-latomic" - DENABLE_OPENSSL=ON -DPORTABLE=1 -DCMAKE_BUILD_TYPE=Release -j $(nproc) $MORE_BUILD_ARGS
2929
30- FROM debian:bookworm -slim
30+ FROM debian:trixie -slim
3131
3232RUN apt-get update && apt-get upgrade -y && apt-get -y install openssl ca-certificates redis-tools binutils && apt-get clean
3333
You can’t perform that action at this time.
0 commit comments