We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea9596d commit a1d1c73Copy full SHA for a1d1c73
.devcontainer/Dockerfile
@@ -1,10 +1,10 @@
1
-FROM ubuntu:latest
+ARG VARIANT=ubuntu-20.04
2
+FROM mcr.microsoft.com/vscode/devcontainers/cpp:0-${VARIANT}
3
4
RUN apt-get update && apt-get install -y \
- build-essential \
5
- cmake \
6
- git \
7
- clang \
8
- lldb \
9
- gdb \
+ python python3.8-venv pip pipx \
10
&& rm -rf /var/lib/apt/lists/*
+
+RUN pip install clang-format pre-commit
+RUN pre-commit install
0 commit comments