Dockerfile24 lines · 700 chars FROM ubuntu:jammy-20260217
# Non-interactive frontend for apt
ENV DEBIAN_FRONTEND=noninteractive
# Install build dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential cmake openssl libssl-dev && \
rm -rf /var/lib/apt/lists/*
# Create work directory
WORKDIR /workspace
# Copy source code
COPY . .
# Configure and build in one step with Unix Makefiles to satisfy CI smoke tests
RUN cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DENABLE_SSL=OFF -DBUILD_UNIT_TESTS=OFF -DBUILD_EXAMPLES=OFF && \
cmake --build build --config Release
# Default to an interactive shell to allow user to run commands
CMD ["/bin/bash"]