From c6dfae56d0ca72b9675802b597f77d34847e8e9b Mon Sep 17 00:00:00 2001 From: Joe Mahoney Date: Tue, 9 May 2023 01:25:44 +1200 Subject: [PATCH] Bump versions of ruby & nodejs in devcontainer (#9360) Merge pull request 9360 --- .devcontainer/Dockerfile | 4 ++-- .devcontainer/devcontainer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index d79e1e70..93249a80 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,7 +3,7 @@ # 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 ENV DEBIAN_FRONTEND=noninteractive @@ -28,7 +28,7 @@ RUN apt-get update \ # # Install node.js && 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 \ # # Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user. diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6b449c63..8aff32ed 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,7 @@ // 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 { - "name": "Ruby 2", + "name": "Ruby 3", "dockerFile": "Dockerfile", // Set *default* container specific settings.json values on container create.