Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM mcr.microsoft.com/devcontainers/cpp:1-ubuntu-24.04

# Instalacja wszystkich narzędzi w jednej warstwie
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get install -y python3-pip curl git \
&& pip3 install cpplint==1.6.1 --break-system-packages \
# Pobieranie Bazeliska
&& curl -L https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64 -o /usr/local/bin/bazel \
&& chmod +x /usr/local/bin/bazel \
# Pobieranie Buildifiera
&& curl -L https://github.com/bazelbuild/buildtools/releases/latest/download/buildifier-linux-amd64 -o /usr/local/bin/buildifier \
&& chmod +x /usr/local/bin/buildifier \
# Czyszczenie cache apt, żeby obraz był lżejszy
&& apt-get clean && rm -rf /var/lib/apt/lists/*
52 changes: 52 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "C++ Bazel Podman (Native)",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools-extension-pack",
"bazelbuild.vscode-bazel",
"stackbuild.bazel-stack-vscode",
"cschlosser.doxdocgen",
"ms-python.debugpy",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.vscode-python-envs"
],
"settings": {
"cpplint.path": "/usr/local/bin/cpplint",
"C_Cpp.default.cppStandard": "c++23",
"C_Cpp.default.cStandard": "c23"
}
}
},
// Bazel potrafi generować ogromne ilości danych w cache.
// Jeśli chcesz, aby cache przeżył usunięcie kontenera, odkomentuj poniższe:
"runArgs": [
"--userns=keep-id",
"--security-opt", "label=disable"
],
"mounts": [
"source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached",
"source=bazel-cache-${localWorkspaceFolderBasename},target=/home/vscode/.cache,type=volume"
],

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "pip install cpplint",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "vscode"
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
1 change: 1 addition & 0 deletions core/rocket_machine_state/rocket_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/
#include "core/rocket_machine_state/rocket_state.hpp"
#include <unordered_map>
#include <algorithm>
#include <vector>
#include <string>
#include "ara/log/log.h"
Expand Down
Loading