File tree Expand file tree Collapse file tree 3 files changed +39
-32
lines changed Expand file tree Collapse file tree 3 files changed +39
-32
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:latest
1
+ FROM mcr.microsoft.com/devcontainers/cpp:1-ubuntu-24.04
2
2
3
- # Install required dependencies
4
- RUN apt-get update && apt-get install -y \
5
- build-essential \
6
- cmake \
7
- git \
8
- clang \
9
- clang-format \
10
- lldb \
11
- gdb \
12
- valgrind \
13
- && rm -rf /var/lib/apt/lists/*
3
+ # [Optional] Uncomment this section to install additional vcpkg ports.
4
+ # RUN su vscode -c "${VCPKG_ROOT}/vcpkg install <your-port-name-here>"
14
5
15
- # Set the working directory
16
- WORKDIR /workspaces/traits
17
-
18
- # Use the 'vscode' user (update if you want to use a different user)
19
- RUN useradd -s /bin/bash -m vscode \
20
- && chown -R vscode /workspaces
21
- USER vscode
6
+ # [Optional] Uncomment this section to install additional packages.
7
+ # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
8
+ # && apt-get -y install --no-install-recommends <your-package-list-here>
Original file line number Diff line number Diff line change
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2
+ // README at: https://github.com/devcontainers/templates/tree/main/src/cpp
1
3
{
2
- "name" : " C++ CMake Development" ,
3
- "build" : {
4
- "dockerfile" : " Dockerfile"
5
- },
6
- "remoteUser" : " vscode" ,
7
- "customizations" : {
8
- "vscode" : {
9
- "extensions" : [
10
- " ms-vscode.cpptools" ,
11
- " ms-vscode.cmake-tools"
12
- ]
13
- }
14
- }
4
+ "name" : " C++" ,
5
+ "build" : {
6
+ "dockerfile" : " Dockerfile"
7
+ }
8
+
9
+ // Features to add to the dev container. More info: https://containers.dev/features.
10
+ // "features": {},
11
+
12
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
13
+ // "forwardPorts": [],
14
+
15
+ // Use 'postCreateCommand' to run commands after the container is created.
16
+ // "postCreateCommand": "gcc -v",
17
+
18
+ // Configure tool-specific properties.
19
+ // "customizations": {},
20
+
21
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
22
+ // "remoteUser": "root"
15
23
}
Original file line number Diff line number Diff line change
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for more information:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+ # https://containers.dev/guide/dependabot
6
+
7
+ version : 2
8
+ updates :
9
+ - package-ecosystem : " devcontainers"
10
+ directory : " /"
11
+ schedule :
12
+ interval : weekly
You can’t perform that action at this time.
0 commit comments