github.com/weedge/lib@v0.0.0-20230424045628-a36dcc1d90e4/.devcontainer/Dockerfile (about)

     1  # See here for image contents: https://github.com/microsoft/vscode-dev-containers
     2  FROM ubuntu:lunar
     3  
     4  # [Optional] Install CMake version different from what base image has already installed. 
     5  # CMake reinstall choices: none, 3.21.5, 3.22.2, or versions from https://cmake.org/download/
     6  ARG REINSTALL_CMAKE_VERSION_FROM_SOURCE="none"
     7  
     8  COPY ./ubuntu_init.sh /tmp/
     9  COPY ./reinstall-cmake.sh /tmp/
    10  RUN chmod +x /tmp/ubuntu_init.sh && /tmp/ubuntu_init.sh && rm -f /tmp/ubuntu_init.sh \
    11      && if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
    12      chmod +x /tmp/reinstall-cmake.sh && /tmp/reinstall-cmake.sh ${REINSTALL_CMAKE_VERSION_FROM_SOURCE}; \
    13      fi \
    14      && rm -f /tmp/reinstall-cmake.sh