Multiple implementations of the same back-end application. The aim is to provide quick, side-by-side comparisons of different technologies (languages, frameworks, libraries) while preserving consistent business logic across all implementations.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
578 B

FROM kuyoh/vcpkg:2025.06.13-ubuntu24.04 AS builder
WORKDIR /workspace
COPY .. .
# generate and build
RUN cmake -DCMAKE_TOOLCHAIN_FILE:STRING=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake \
-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Release \
-H/workspace -B/workspace/build -G Ninja
RUN cmake --build /workspace/build --config Release --target all -j 8 --
RUN cd /workspace/build && ctest --output-on-failure .
FROM ubuntu:24.04 AS runtime
WORKDIR /app
COPY --from=builder /workspace/build/bin/AutoStore ./AutoStore
CMD ["./AutoStore"]