denv-cpp/denv/Dockerfile

23 lines
549 B
Docker
Raw Normal View History

2024-05-26 17:59:17 +02:00
FROM debian:bullseye-slim
RUN apt update \
&& apt install -y --no-install-recommends \
curl ca-certificates \
tar zip unzip pkg-config \
git build-essential \
gdb cmake
RUN git clone --depth 1 --branch 2024.04.26 https://github.com/Microsoft/vcpkg.git /opt/vcpkg \
&& cd /opt/vcpkg \
&& ./bootstrap-vcpkg.sh \
&& ./vcpkg integrate install \
&& ./vcpkg install catch2
RUN apt install -y --no-install-recommends \
protobuf-compiler libprotobuf-dev \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir /denv-template
WORKDIR /denv-template