Bump to 0.191.0
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.185.0/containers/php/.devcontainer/base.Dockerfile
|
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.191.0/containers/php/.devcontainer/base.Dockerfile
|
||||||
|
|
||||||
# [Choice] PHP version: 8, 8.0, 7, 7.4, 7.3
|
# [Choice] PHP version: 8, 8.0, 7, 7.4, 7.3
|
||||||
ARG VARIANT="7"
|
ARG VARIANT="7"
|
||||||
FROM mcr.microsoft.com/vscode/devcontainers/php:0-${VARIANT}
|
FROM mcr.microsoft.com/vscode/devcontainers/php:0-${VARIANT}
|
||||||
|
|
||||||
# [Option] Install Node.js
|
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
|
||||||
ARG INSTALL_NODE="true"
|
ARG NODE_VERSION="none"
|
||||||
ARG NODE_VERSION="lts/*"
|
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
|
||||||
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
|
|
||||||
|
|
||||||
# [Optional] Uncomment this section to install additional OS packages.
|
# [Optional] Uncomment this section to install additional OS packages.
|
||||||
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
||||||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.185.0/containers/php
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.191.0/containers/php
|
||||||
{
|
{
|
||||||
"name": "PHP",
|
"name": "PHP",
|
||||||
"build": {
|
"build": {
|
||||||
@@ -7,7 +7,6 @@
|
|||||||
"args": {
|
"args": {
|
||||||
// Update VARIANT to pick a PHP version: 8, 8.0, 7, 7.4, 7.3
|
// Update VARIANT to pick a PHP version: 8, 8.0, 7, 7.4, 7.3
|
||||||
"VARIANT": "7",
|
"VARIANT": "7",
|
||||||
"INSTALL_NODE": "true",
|
|
||||||
"NODE_VERSION": "lts/*"
|
"NODE_VERSION": "lts/*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user