Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Update Challenge3.md #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Challenges/Challenge3.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Moving the customizations from postCreateCommand to the local Dockerfile
Once we have validated the code in the bash script, the next step is to move the changes to the local Dockerfile. This brings us back to the tip from solution1:
Once we have validated the code in the bash script, the next step is to move the changes to the local Dockerfile. This brings us back to the tip from solution 1:

## (from solution 1) From the Field
We never just have an image pointer in devcontainer.json like below:
Expand All @@ -9,7 +9,7 @@ We never just have an image pointer in devcontainer.json like below:
}
```

Even if we are just using the base image, we have a Dockerfile with a FROM and point to the image. Below is a simplified equivelant to the above, using a Dockerfile:
Even if we are just using the base image, we have a Dockerfile with a FROM and point to the image. Below is a simplified equivalent to the above, using a Dockerfile:
```json
{
"build": {
Expand Down