Skip to content

Commit f214990

Browse files
committed
Add conan
1 parent 02ec6ec commit f214990

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.devcontainer/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ FROM mcr.microsoft.com/devcontainers/cpp:ubuntu-24.04
55

66
RUN apt-get update \
77
&& apt-get upgrade --yes \
8-
&& apt-get install --yes --no-install-recommends adr-tools clang-format clang-tidy cppcheck gcc-14 g++-14 iwyu lcov pre-commit \
8+
&& apt-get install --yes --no-install-recommends adr-tools clang-format clang-tidy cppcheck gcc-14 g++-14 iwyu lcov pipx pre-commit \
99
&& apt-get clean \
1010
&& rm -rf /var/lib/apt/lists/*
1111

12+
# Ensure pipx is in PATH
13+
14+
RUN pipx ensurepath
15+
1216
# Choose default gcc and g++ version
1317

1418
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13 \

.devcontainer/post-start.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22

33
echo "Installing pre-commit hooks"
44
pre-commit install --install-hooks
5+
6+
echo "Installing conan"
7+
pipx install conan

0 commit comments

Comments
 (0)