Skip to content

Commit

Permalink
Changed gradle documentation export docker context from --jib.dockerD…
Browse files Browse the repository at this point in the history
…ir to --targetDir

In GoogleContainerTools#499, the option from gradle to export the docker context was changed, but it wasn't reflected in the docs.
  • Loading branch information
Dviejopomata authored Jul 19, 2018
1 parent 99b588f commit 6348473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jib-gradle-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ Jib can also export a Docker context so that you can build with Docker, if neede
gradle jibExportDockerContext
```

The Docker context will be created at `build/jib-docker-context` by default. You can change this directory with the `targetDir` configuration option or the `---jib.dockerDir` parameter:
The Docker context will be created at `build/jib-docker-context` by default. You can change this directory with the `targetDir` configuration option or the `---targetDir` parameter:

```shell
gradle jibExportDockerContext --jib.dockerDir=my/docker/context/
gradle jibExportDockerContext --targetDir=my/docker/context/
```

You can then build your image with Docker:
Expand Down

0 comments on commit 6348473

Please sign in to comment.