Bump versions of ruby & nodejs in devcontainer (#9360)
Merge pull request 9360
This commit is contained in:
parent
bb954ff16e
commit
c6dfae56d0
|
@ -3,7 +3,7 @@
|
||||||
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
|
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
|
||||||
#-------------------------------------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
FROM ruby:2
|
FROM ruby:3.0
|
||||||
|
|
||||||
# Avoid warnings by switching to noninteractive
|
# Avoid warnings by switching to noninteractive
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
@ -28,7 +28,7 @@ RUN apt-get update \
|
||||||
#
|
#
|
||||||
# Install node.js
|
# Install node.js
|
||||||
&& apt-get -y install curl software-properties-common \
|
&& apt-get -y install curl software-properties-common \
|
||||||
&& curl -sL https://deb.nodesource.com/setup_13.x | bash - \
|
&& curl -sL https://deb.nodesource.com/setup_18.x | bash - \
|
||||||
&& apt-get -y install nodejs \
|
&& apt-get -y install nodejs \
|
||||||
#
|
#
|
||||||
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
|
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
|
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
|
||||||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.101.1/containers/ruby-2
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.101.1/containers/ruby-2
|
||||||
{
|
{
|
||||||
"name": "Ruby 2",
|
"name": "Ruby 3",
|
||||||
"dockerFile": "Dockerfile",
|
"dockerFile": "Dockerfile",
|
||||||
|
|
||||||
// Set *default* container specific settings.json values on container create.
|
// Set *default* container specific settings.json values on container create.
|
||||||
|
|
Loading…
Reference in New Issue