-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create build-docker-image.md (#5588)
* Create build-docker-image.md * Update build-docker-image.md * Update CODEOWNERS * Update ci.yml
- Loading branch information
1 parent
8a7d0e5
commit 7d92b7b
Showing
3 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
tools/sdk-generation-pipeline/documents/docker/build-docker-image.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
If you want to rebuild the docker image, you only can do it in your local. It's suggested to create a release pipeline to build it. (Previously we find that sometimes it will be timeout because the pipeline costs much time in building and pushing docker image, but now the agent pool should be very fast.) | ||
|
||
Steps to rebuild the docker image: | ||
1. `cd tools/sdk-generation-pipeline` | ||
2. `rush update` | ||
3. `rush rebuild` | ||
4. `cd packages/sdk-generation-cli` | ||
5. `rushx pack` | ||
6. `cd ../.. # go to tools/sdk-generation-pipeline` | ||
7. `docker build -t sdkgeneration.azurecr.io/sdk-generation:beta-1.0 .` |