Skip to content

Commit

Permalink
Added container based on gcc13
Browse files Browse the repository at this point in the history
  • Loading branch information
UlrichVonRekkenin committed Sep 15, 2023
1 parent c17c186 commit 497d9a6
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 5 deletions.
31 changes: 31 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "Existing Dockerfile",
"build": {
"context": "..",
"dockerfile": "../Dockerfile.gcc13"
},
"customizations": {
"vscode": {
"extensions": [
"twxs.cmake",
"ms-vscode.cmake-tools",
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
"jbenden.c-cpp-flylint",
"matepek.vscode-catch2-test-adapter",
"piotrkosek.vscode-gtest-test-adapter-with-code-lens",
"derivitec-ltd.cmake-test-adapter",
"fredericbonnet.cmake-test-adapter",
"streetsidesoftware.code-spell-checker"
]
}
},
"features": {
"ghcr.io/devcontainers/features/git:1": {}
}
// "features": {},
// "forwardPorts": [],
// "postCreateCommand": "cat /etc/os-release",
// "customizations": {},
// "remoteUser": "devcontainer"
}
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ src/modules/location/.DS_Store
html/
latex/

CMakeSettings.json
.vs/
out/
build-linux-gxx
build-linux-clang
CMakeSettings.json
.vs/
out/
build-linux-gxx
build-linux-clang
8 changes: 8 additions & 0 deletions Dockerfile.gcc13
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM gcc:13.2

RUN apt update -y && \
apt install -y cmake ninja-build && \
ln -s /usr/local/bin/g++ /usr/bin/g++-13 && \
rm -rf /var/lib/apt/lists/*

ENTRYPOINT [ "bash" ]

0 comments on commit 497d9a6

Please sign in to comment.