You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
785 B
Docker
19 lines
785 B
Docker
FROM mcr.microsoft.com/devcontainers/cpp:1-debian-12
|
|
|
|
ARG REINSTALL_CMAKE_VERSION_FROM_SOURCE="3.28.1"
|
|
|
|
# Optionally install the cmake for vcpkg
|
|
COPY ./reinstall-cmake.sh /tmp/
|
|
|
|
RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
|
|
chmod +x /tmp/reinstall-cmake.sh && /tmp/reinstall-cmake.sh ${REINSTALL_CMAKE_VERSION_FROM_SOURCE}; \
|
|
fi \
|
|
&& rm -f /tmp/reinstall-cmake.sh
|
|
|
|
# [Optional] Uncomment this section to install additional vcpkg ports.
|
|
# RUN su vscode -c "${VCPKG_ROOT}/vcpkg install <your-port-name-here>"
|
|
|
|
# [Optional] Uncomment this section to install additional packages.
|
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
&& apt-get -y install --no-install-recommends libssl-dev libpopt-dev clang-format clangd xmlto doxygen
|