Skip to content

Commit 1575074

Browse files
committed
Forgot 'init.sh' lives in source, meaning postCreateCommand has no access to it
1 parent 410e303 commit 1575074

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.devcontainer/base.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ CMD [ "sleep", "infinity" ]
3838

3939
RUN apt update && apt-get install -y --allow-downgrades dotnet-sdk-6.0=6.0.300-1
4040
RUN apt-get install build-essential -y
41-
COPY init.sh /var/init.sh
4241

4342
# [Optional] Uncomment this section to install additional OS packages.
4443
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
]
1515
}
1616
},
17-
"postCreateCommand": "/bin/bash /var/init.sh",
17+
"postCreateCommand": "/bin/bash .devcontainer/init.sh",
1818
"remoteUser": "root"
1919
}

0 commit comments

Comments
 (0)