mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
c3a46e6043
* trying out codespaces
20 lines
766 B
Docker
20 lines
766 B
Docker
# Latest Debian
|
|
FROM mcr.microsoft.com/devcontainers/cpp:debian
|
|
|
|
ARG REINSTALL_CMAKE_VERSION_FROM_SOURCE="none"
|
|
|
|
# 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 <your-package-list-here>
|