summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluent-bit/.devcontainer/devcontainer.json')
-rw-r--r--src/fluent-bit/.devcontainer/devcontainer.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/fluent-bit/.devcontainer/devcontainer.json b/src/fluent-bit/.devcontainer/devcontainer.json
new file mode 100644
index 000000000..1f8a6221e
--- /dev/null
+++ b/src/fluent-bit/.devcontainer/devcontainer.json
@@ -0,0 +1,38 @@
+{
+ "name": "devcontainer-fluent-bit",
+ "image": "fluent/fluent-bit:latest-debug",
+
+ // Features to add to the dev container. More info: https://containers.dev/features.
+ "features": {
+ // add non-root user. it is similar your local user.
+ "ghcr.io/devcontainers/features/common-utils:2": {
+ "version": "latest",
+ "username": "fluent-bit"
+ },
+
+ // docker-in-docker allows you to run Docker commands inside the dev container. Thus, it supports to build docker build in the environment.
+ "ghcr.io/devcontainers/features/docker-in-docker:2": {
+ "version": "latest",
+ "moby": true,
+ "dockerDashComposeVersion": "v1"
+ }
+ },
+
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
+ // The ports are useful while sending data over tcp/udp from local applications.
+ "forwardPorts": [
+ // 2020 // fluent metrics etc.
+ // 80 // http input etc.
+ ],
+
+ "customizations": {
+ "vscode": {
+ "extensions": [
+ "ms-vscode.cpptools",
+ "ms-azuretools.vscode-docker"
+ ]
+ }
+ },
+
+ "remoteUser": "fluent-bit"
+}