From 2f9271a28845f54fcb44e11ae81fc623e345155f Mon Sep 17 00:00:00 2001 From: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com> Date: Mon, 12 Sep 2022 12:12:09 +0000 Subject: [PATCH] Run init.sh from source instead of docker img --- .devcontainer/base.Dockerfile | 1 - .devcontainer/devcontainer.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.devcontainer/base.Dockerfile b/.devcontainer/base.Dockerfile index 78e8c2ae863..d63e9f4ec61 100644 --- a/.devcontainer/base.Dockerfile +++ b/.devcontainer/base.Dockerfile @@ -38,7 +38,6 @@ CMD [ "sleep", "infinity" ] RUN apt update && apt-get install -y --allow-downgrades dotnet-sdk-6.0=6.0.300-1 RUN apt-get install build-essential -y -COPY init.sh /var/init.sh # [Optional] Uncomment this section to install additional OS packages. # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a7a3d21f099..09596f1699d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -14,6 +14,6 @@ ] } }, - "postCreateCommand": "/bin/bash /var/init.sh", + "postCreateCommand": "/bin/bash .devcontainer/init.sh", "remoteUser": "root" }