mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00

We require faketime to be installed for running the tests, therefore its added. Further for non-interactive usage apt-get is recommended, therefore the change.
20 lines
827 B
Docker
20 lines
827 B
Docker
FROM mcr.microsoft.com/devcontainers/cpp:1-ubuntu-22.04
|
|
|
|
ARG REINSTALL_CMAKE_VERSION_FROM_SOURCE="3.22.2"
|
|
|
|
# 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
|
|
|
|
RUN sudo apt-get update && sudo apt-get install uuid-dev faketime
|
|
|
|
# [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>
|