Bump versions of ruby & nodejs in devcontainer (#9360)

Merge pull request 9360
This commit is contained in:
Joe Mahoney 2023-05-09 01:25:44 +12:00 committed by GitHub
parent bb954ff16e
commit c6dfae56d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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.