formatting

This commit is contained in:
tooomm 2026-07-19 12:58:01 +02:00
parent 304dbcd9fa
commit 20159e5550

View file

@ -3,7 +3,8 @@ FROM ubuntu:26.04 AS build
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \ build-essential \
ccache \ ccache \
cmake \ cmake \
@ -23,8 +24,10 @@ ENV CCACHE_DIR=/root/.ccache
ENV CCACHE_MAXSIZE=550M ENV CCACHE_MAXSIZE=550M
WORKDIR /src WORKDIR /src
COPY . . COPY . .
RUN --mount=type=cache,target=/root/.ccache \ RUN --mount=type=cache,id=ccache,target=/root/.ccache \
cmake -S . -B build \ cmake \
-S . \
-B build \
-G Ninja \ -G Ninja \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
@ -32,15 +35,18 @@ RUN --mount=type=cache,target=/root/.ccache \
-DWITH_CLIENT=0 \ -DWITH_CLIENT=0 \
-DWITH_ORACLE=0 \ -DWITH_ORACLE=0 \
&& cmake --build build \ && cmake --build build \
&& cmake --install build && cmake --install build \
&& ccache --show-config \
RUN ccache --show-stats && ccache --show-stats
# -------- Runtime Stage (clean) -------- # -------- Runtime Stage (clean) --------
FROM ubuntu:26.04 FROM ubuntu:26.04
RUN apt-get update && apt-get install -y --no-install-recommends \ ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libprotobuf32t64 \ libprotobuf32t64 \
libqt6sql6-mysql \ libqt6sql6-mysql \
libqt6websockets6 \ libqt6websockets6 \