Add Python 3.9, Java 15, deprecate Java 14 (resolves #605)

This commit is contained in:
Chuck Lantz 2020-10-13 14:49:46 +00:00 коммит произвёл GitHub
Родитель c06ce8b37a
Коммит 85a9a2e349
10 изменённых файлов: 13 добавлений и 12 удалений

Просмотреть файл

@ -1,4 +1,4 @@
# [Choice] Java version: 11, 14
# [Choice] Java version: 11, 15
ARG VARIANT=11
FROM mcr.microsoft.com/vscode/devcontainers/java:${VARIANT}

Просмотреть файл

@ -1,4 +1,4 @@
# [Choice] Java version: 11, 14
# [Choice] Java version: 11, 15
ARG VARIANT=11
FROM openjdk:${VARIANT}-jdk-buster

Просмотреть файл

@ -3,7 +3,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
// Update the VARIANT arg to pick a Java version: 11, 14
// Update the VARIANT arg to pick a Java version: 11, 15
"VARIANT": "11",
// Options
"INSTALL_MAVEN": "false",

Просмотреть файл

@ -9,7 +9,7 @@
| *Contributors* | The VS Code Java Team |
| *Definition type* | Dockerfile |
| *Published images* | mcr.microsoft.com/vscode/devcontainers/java |
| *Available image variants* | 11, 14 |
| *Available image variants* | 11, 15 |
| *Published image architecture(s)* | x86-64 |
| *Works in Codespaces* | Yes |
| *Container host OS support* | Linux, macOS, Windows |
@ -22,14 +22,14 @@
While this definition should work unmodified, you can select the version of Java the container uses by updating the `VARIANT` arg in the included `devcontainer.json` (and rebuilding if you've already created the container).
```json
"args": { "VARIANT": "14" }
"args": { "VARIANT": "15" }
```
You can also directly reference pre-built versions of `.devcontainer/base.Dockerfile` by using the `image` property in `.devcontainer/devcontainer.json` or updating the `FROM` statement in your own `Dockerfile` to one of the following. An example `Dockerfile` is included in this repository.
- `mcr.microsoft.com/vscode/devcontainers/java` (latest)
- `mcr.microsoft.com/vscode/devcontainers/java:11`
- `mcr.microsoft.com/vscode/devcontainers/java:14`
- `mcr.microsoft.com/vscode/devcontainers/java:15`
Version specific tags tied to [releases in this repository](https://github.com/microsoft/vscode-dev-containers/releases) are also available.

Просмотреть файл

@ -1,5 +1,5 @@
{
"variants": [ "14", "11" ],
"variants": [ "15", "11" ],
"build": {
"latest": "true",
"rootDistro": "debian",

Просмотреть файл

@ -1,4 +1,4 @@
# [Choice] Python version: 3, 3.8, 3.7, 3.6
# [Choice] Python version: 3, 3.9, 3.8, 3.7, 3.6
ARG VARIANT=3
FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}

Просмотреть файл

@ -1,4 +1,4 @@
# [Choice] Python version: 3, 3.8, 3.7, 3.6
# [Choice] Python version: 3, 3.9, 3.8, 3.7, 3.6
ARG VARIANT=3
FROM python:${VARIANT}

Просмотреть файл

@ -4,7 +4,7 @@
"dockerfile": "Dockerfile",
"context": "..",
"args": {
// Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8
// Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8, 3.9
"VARIANT": "3",
// Options
"INSTALL_NODE": "true",

Просмотреть файл

@ -9,7 +9,7 @@
| *Contributors* | The [VS Code Python extension](https://marketplace.visualstudio.com/itemdetails?itemName=ms-python.python) team |
| *Definition type* | Dockerfile |
| *Published image* | mcr.microsoft.com/vscode/devcontainers/python |
| *Available image variants* | 3, 3.6, 3.7, 3.8 |
| *Available image variants* | 3, 3.6, 3.7, 3.8, 3.9 |
| *Published image architecture(s)* | x86-64 |
| *Works in Codespaces* | Yes |
| *Container Host OS Support* | Linux, macOS, Windows |
@ -31,6 +31,7 @@ You can also directly reference pre-built versions of `.devcontainer/base.Docker
- `mcr.microsoft.com/vscode/devcontainers/python:3.6`
- `mcr.microsoft.com/vscode/devcontainers/python:3.7`
- `mcr.microsoft.com/vscode/devcontainers/python:3.8`
- `mcr.microsoft.com/vscode/devcontainers/python:3.9`
Version specific tags tied to [releases in this repository](https://github.com/microsoft/vscode-dev-containers/releases) are also available.

Просмотреть файл

@ -1,5 +1,5 @@
{
"variants": ["3", "3.8", "3.7", "3.6"],
"variants": ["3", "3.9", "3.8", "3.7", "3.6"],
"build": {
"latest": true,
"rootDistro": "debian",