23 lines
549 B
Docker
23 lines
549 B
Docker
|
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
|
||
|
|