From 548ceb1f92b2cc7d6f914889a17c66d4f3c14598 Mon Sep 17 00:00:00 2001 From: Venkata Mutyala Date: Tue, 9 Apr 2024 12:47:00 -0700 Subject: [PATCH 1/2] chore(deps): point to ubuntu base image --- .devcontainer/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index d253563..dcc1ad9 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,10 +1,9 @@ # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.233.0/containers/ubuntu/.devcontainer/base.Dockerfile # [Choice] Ubuntu version (use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon): ubuntu-22.04, ubuntu-20.04, ubuntu-18.04 -ARG VARIANT="jammy" #https://mcr.microsoft.com/v2/devcontainers/base/tags/list #https://github.com/devcontainers/images/tree/main/src/base-ubuntu -FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT} +FROM mcr.microsoft.com/vscode/devcontainers/base:0-ubuntu-22.04 # [Optional] Uncomment this section to install additional OS packages. # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ From b307fe964aa365454948568c2fdb2eaeeb025b4f Mon Sep 17 00:00:00 2001 From: Venkata Mutyala Date: Tue, 9 Apr 2024 12:48:08 -0700 Subject: [PATCH 2/2] chore(devcontainer): remove variant arg since it's hardcoded in dockerfile --- .devcontainer/devcontainer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4d99317..7754918 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,10 +3,10 @@ { "name": "Ubuntu", "build": { - "dockerfile": "Dockerfile", + "dockerfile": "Dockerfile" // Update 'VARIANT' to pick an Ubuntu version: jammy / ubuntu-22.04, focal / ubuntu-20.04, bionic /ubuntu-18.04 // Use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon. - "args": { "VARIANT": "ubuntu-22.04" } + }, // Set *default* container specific settings.json values on container create.