Merge pull request #1199 from luba239/patch-1

Fix line endings in shell script
This commit is contained in:
Tejal Desai 2020-05-03 20:42:22 -07:00 committed by GitHub
commit c641f6ff3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -294,9 +294,9 @@ docker run \
-v "$HOME"/.config/gcloud:/root/.config/gcloud \
-v /path/to/context:/workspace \
gcr.io/kaniko-project/executor:latest \
--dockerfile /workspace/Dockerfile
--destination "gcr.io/$PROJECT_ID/$IMAGE_NAME:$TAG"
--context dir:///workspace/"
--dockerfile /workspace/Dockerfile \
--destination "gcr.io/$PROJECT_ID/$IMAGE_NAME:$TAG" \
--context dir:///workspace/
```
There is also a utility script [`run_in_docker.sh`](./run_in_docker.sh) that can be used as follows: