Skip to content

Commit

Permalink
seed optionalPaths property into Templates (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshspicer authored Aug 13, 2024
1 parent b87588a commit baa10b1
Show file tree
Hide file tree
Showing 40 changed files with 218 additions and 98 deletions.
11 changes: 7 additions & 4 deletions src/alpine/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "alpine",
"version": "3.2.0",
"version": "3.2.1",
"name": "Alpine",
"description": "Simple Alpine container with Git installed.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/alpine",
Expand All @@ -11,15 +11,18 @@
"type": "string",
"description": "Alpine version:",
"proposals": [
"3.20",
"3.19",
"3.18",
"3.20",
"3.19",
"3.18",
"3.17"
],
"default": "3.20"
}
},
"platforms": [
"Any"
],
"optionalPaths": [
".github/*"
]
}
5 changes: 4 additions & 1 deletion src/anaconda-postgres/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "anaconda-postgres",
"version": "2.0.0",
"version": "2.0.1",
"name": "Anaconda (Python 3) & PostgreSQL",
"description": "Develop Anaconda & PostgreSQL applications in Python3. Installs dependencies from your environment.yml file and the Python extension.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/anaconda-postgres",
Expand All @@ -9,5 +9,8 @@
"platforms": [
"Python",
"Anaconda"
],
"optionalPaths": [
".github/*"
]
}
5 changes: 4 additions & 1 deletion src/anaconda/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "anaconda",
"version": "2.0.0",
"version": "2.0.1",
"name": "Anaconda (Python 3)",
"description": "Develop Anaconda applications in Python3. Installs dependencies from your environment.yml file and the Python extension.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/anaconda",
Expand All @@ -9,5 +9,8 @@
"platforms": [
"Python",
"Anaconda"
],
"optionalPaths": [
".github/*"
]
}
9 changes: 6 additions & 3 deletions src/cpp-mariadb/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "cpp-mariadb",
"version": "3.0.0",
"version": "3.0.1",
"name": "C++ & MariaDB",
"description": "Develop C++ applications on Linux. Includes Debian C++ build tools.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/cpp-mariadb",
Expand All @@ -11,9 +11,9 @@
"type": "string",
"description": "Debian / Ubuntu version (use Debian 12, Debian 11, Ubuntu 24.04, and Ubuntu 22.04 on local arm64/Apple Silicon):",
"proposals": [
"debian-12",
"debian-12",
"debian-11",
"ubuntu-24.04",
"ubuntu-24.04",
"ubuntu-22.04",
"ubuntu-20.04"
],
Expand All @@ -32,5 +32,8 @@
},
"platforms": [
"C++"
],
"optionalPaths": [
".github/*"
]
}
9 changes: 6 additions & 3 deletions src/cpp/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "cpp",
"version": "3.0.0",
"version": "3.0.1",
"name": "C++",
"description": "Develop C++ applications on Linux. Includes Debian C++ build tools.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/cpp",
Expand All @@ -11,9 +11,9 @@
"type": "string",
"description": "Debian / Ubuntu version (use Debian 12, Debian 11, Ubuntu 24.04, and Ubuntu 22.04 on local arm64/Apple Silicon):",
"proposals": [
"debian-12",
"debian-12",
"debian-11",
"ubuntu-24.04",
"ubuntu-24.04",
"ubuntu-22.04",
"ubuntu-20.04"
],
Expand All @@ -32,5 +32,8 @@
},
"platforms": [
"C++"
],
"optionalPaths": [
".github/*"
]
}
7 changes: 5 additions & 2 deletions src/debian/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "debian",
"version": "3.0.0",
"version": "3.0.1",
"name": "Debian",
"description": "Simple Debian container with Git installed.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/debian",
Expand All @@ -11,13 +11,16 @@
"type": "string",
"description": "Debian version (use bookworm or bullseye on local arm64/Apple Silicon):",
"proposals": [
"bookworm",
"bookworm",
"bullseye"
],
"default": "bullseye"
}
},
"platforms": [
"Any"
],
"optionalPaths": [
".github/*"
]
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"id": "docker-existing-docker-compose",
"version": "1.2.1",
"version": "1.2.2",
"name": "Existing Docker Compose (Extend)",
"description": "Sample illustrating how to extend an existing Docker Compose file for use in a dev container.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose",
"publisher": "Dev Container Spec Maintainers",
"licenseURL": "https://github.com/devcontainers/templates/blob/main/LICENSE",
"platforms": [
"Any"
],
"optionalPaths": [
".github/*"
]
}
5 changes: 4 additions & 1 deletion src/docker-existing-dockerfile/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"id": "docker-existing-dockerfile",
"version": "1.3.0",
"version": "1.3.1",
"name": "Existing Dockerfile",
"description": "Sample illustrating reuse of an existing Dockefile.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile",
"publisher": "Dev Container Spec Maintainers",
"licenseURL": "https://github.com/devcontainers/templates/blob/main/LICENSE",
"platforms": [
"Any"
],
"optionalPaths": [
".github/*"
]
}
5 changes: 4 additions & 1 deletion src/docker-in-docker/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "docker-in-docker",
"version": "1.3.0",
"version": "1.3.1",
"name": "Docker in Docker",
"description": "Create child containers _inside_ a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/docker-in-docker",
Expand Down Expand Up @@ -40,5 +40,8 @@
},
"platforms": [
"Any"
],
"optionalPaths": [
".github/*"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "docker-outside-of-docker-compose",
"version": "2.3.0",
"version": "2.3.1",
"name": "Docker outside of Docker Compose",
"description": "Access your host's Docker install from inside a container when using Docker Compose. Installs Docker extension in the container along with needed CLIs.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/docker-outside-of-docker-compose",
Expand Down Expand Up @@ -40,5 +40,8 @@
},
"platforms": [
"Any"
],
"optionalPaths": [
".github/*"
]
}
5 changes: 4 additions & 1 deletion src/docker-outside-of-docker/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "docker-outside-of-docker",
"version": "1.3.0",
"version": "1.3.1",
"name": "Docker outside of Docker",
"description": "Access your host's Docker install from inside a dev container. Installs Docker extension in the container along with needed CLIs.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/docker-outside-of-docker",
Expand Down Expand Up @@ -40,5 +40,8 @@
},
"platforms": [
"Any"
],
"optionalPaths": [
".github/*"
]
}
5 changes: 4 additions & 1 deletion src/dotnet-fsharp/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "dotnet-fsharp",
"version": "3.1.0",
"version": "3.1.1",
"name": "F# (.NET)",
"description": "Develop F# and .NET based applications. Includes all needed SDKs, extensions, and dependencies.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/dotnet-fsharp",
Expand All @@ -10,5 +10,8 @@
".NET",
".NET Core",
"F#"
],
"optionalPaths": [
".github/*"
]
}
11 changes: 7 additions & 4 deletions src/dotnet-mssql/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "dotnet-mssql",
"version": "3.2.0",
"version": "3.2.1",
"name": "C# (.NET) and MS SQL",
"description": "Develop C# and .NET Core based applications. Includes all needed SDKs, extensions, dependencies and an MS SQL container for parallel database development. Adds an additional MS SQL container to the C# (.NET Core) container definition and deploys any .dacpac files from the mssql .devcontainer folder.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/dotnet-mssql",
Expand All @@ -11,15 +11,15 @@
"type": "string",
"description": ".NET version:",
"proposals": [
"8.0",
"8.0",
"7.0",
"6.0",
"8.0-bookworm",
"8.0-bookworm",
"7.0-bookworm",
"6.0-bookworm",
"7.0-bullseye",
"6.0-bullseye",
"8.0-jammy",
"8.0-jammy",
"7.0-jammy",
"6.0-jammy",
"6.0-focal"
Expand All @@ -32,5 +32,8 @@
".NET Core",
"C#",
"Microsoft SQL"
],
"optionalPaths": [
".github/*"
]
}
11 changes: 7 additions & 4 deletions src/dotnet-postgres/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "dotnet-postgres",
"version": "3.1.0",
"version": "3.1.1",
"name": "C# (.NET) and PostgreSQL",
"description": "Develop C# and .NET Core based applications. Includes all needed SDKs, extensions, dependencies and a PostgreSQL container for parallel database development. Adds an additional PostgreSQL container to the C# (.NET Core) container definition.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/dotnet-postgres",
Expand All @@ -11,15 +11,15 @@
"type": "string",
"description": ".NET version:",
"proposals": [
"8.0",
"8.0",
"7.0",
"6.0",
"8.0-bookworm",
"8.0-bookworm",
"7.0-bookworm",
"6.0-bookworm",
"7.0-bullseye",
"6.0-bullseye",
"8.0-jammy",
"8.0-jammy",
"7.0-jammy",
"6.0-jammy",
"6.0-focal"
Expand All @@ -32,5 +32,8 @@
".NET Core",
"C#",
"PostgreSQL"
],
"optionalPaths": [
".github/*"
]
}
11 changes: 7 additions & 4 deletions src/dotnet/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "dotnet",
"version": "3.1.0",
"version": "3.1.1",
"name": "C# (.NET)",
"description": "Develop C# and .NET based applications. Includes all needed SDKs, extensions, and dependencies.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/dotnet",
Expand All @@ -11,15 +11,15 @@
"type": "string",
"description": ".NET version:",
"proposals": [
"8.0",
"8.0",
"7.0",
"6.0",
"8.0-bookworm",
"8.0-bookworm",
"7.0-bookworm",
"6.0-bookworm",
"7.0-bullseye",
"6.0-bullseye",
"8.0-jammy",
"8.0-jammy",
"7.0-jammy",
"6.0-jammy",
"6.0-focal"
Expand All @@ -31,5 +31,8 @@
".NET",
".NET Core",
"C#"
],
"optionalPaths": [
".github/*"
]
}
9 changes: 6 additions & 3 deletions src/go-postgres/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "go-postgres",
"version": "4.0.0",
"version": "4.0.1",
"name": "Go & PostgreSQL",
"description": "Use and develop Go + Postgres applications. Includes appropriate runtime args, Go, common tools, extensions, and dependencies.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/go-postgres",
Expand All @@ -12,16 +12,19 @@
"description": "Go version:",
"proposals": [
"1-bookworm",
"1.22-bookworm",
"1.22-bookworm",
"1.21-bookworm",
"1-bullseye",
"1.22-bullseye",
"1.22-bullseye",
"1.21-bullseye"
],
"default": "1.22-bookworm"
}
},
"platforms": [
"Go"
],
"optionalPaths": [
".github/*"
]
}
Loading

0 comments on commit baa10b1

Please sign in to comment.