aoc25/.devcontainer/Dockerfile
Feiko Wielsma eac8571ea7 Refactor CMake and VSCode settings; add Day 4 solution
- Updated .vscode/settings.json to enhance Clangd configuration and disable IntelliSense.
- Removed obsolete Clang-Format and Clang-Tidy tasks from .vscode/tasks.json.
- Modified CMakeLists.txt to enable compile commands export and adjusted target properties for Day 4.
- Added new CMakeLists.txt and main.cpp for Day 4 solution, implementing diagram parsing and movable paper counting logic.
- Included test_input and puzzle_input files for Day 4.
- Deleted the run-clang-tidy.sh script as it is no longer needed.
2025-12-04 14:22:43 +00:00

25 lines
593 B
Docker

FROM xianpengshen/clang-tools:21
# Install development tools (cmake, ninja, build essentials)
USER root
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
cmake \
ninja-build \
build-essential \
libc++-dev \
libc++abi-dev \
git \
python3 \
python3-pip \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Create workspace folder (VS Code devcontainer convention)
ARG WORKSPACE_FOLDER=/workspaces/aoc25
RUN mkdir -p ${WORKSPACE_FOLDER} && chown -R root:root ${WORKSPACE_FOLDER}
WORKDIR ${WORKSPACE_FOLDER}
ENV SHELL=/bin/bash
CMD ["bash"]