Skip to content

Commit

Permalink
Forgot 'init.sh' lives in source, meaning postCreateCommand has no ac…
Browse files Browse the repository at this point in the history
…cess to it
  • Loading branch information
fhammerl committed Sep 12, 2022
1 parent 410e303 commit 1575074
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .devcontainer/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
]
}
},
"postCreateCommand": "/bin/bash /var/init.sh",
"postCreateCommand": "/bin/bash .devcontainer/init.sh",
"remoteUser": "root"
}

0 comments on commit 1575074

Please sign in to comment.