From 5a18f27af2b4254df20c31fa83131078baea63d3 Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Wed, 19 Jul 2023 21:42:23 +0000 Subject: [PATCH] Latest docker in docker --- .devcontainer/Dockerfile | 6 ------ .devcontainer/devcontainer.json | 9 ++------- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 .devcontainer/Dockerfile diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index a2cf933..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -ARG IMAGE=bullseye -FROM --platform=amd64 mcr.microsoft.com/devcontainers/${IMAGE} -RUN export DEBIAN_FRONTEND=noninteractive \ - && apt-get update && apt-get install -y xdg-utils \ - && apt-get clean -y && rm -rf /var/lib/apt/lists/* -RUN curl -fsSL https://aka.ms/install-azd.sh | bash diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1e81b28..0a33a3c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,15 +1,10 @@ { "name": "Azure Developer CLI", - "build": { - "dockerfile": "Dockerfile", - "args": { - "IMAGE": "python:3.11" - } - }, + "image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye", "forwardPorts": [50505], "features": { "ghcr.io/devcontainers/features/powershell:1.1.0": {}, - "ghcr.io/devcontainers/features/docker-in-docker:2": {}, + "ghcr.io/devcontainers/features/docker-in-docker:2.2.1": {}, "ghcr.io/devcontainers/features/azure-cli:1": {} }, "customizations": {