Skip to content

Commit

Permalink
Add simple examples for Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
BjoernAtBosch committed Jun 8, 2023
1 parent 7478fbe commit a730ee9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions examples/seat-adjuster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,20 @@ If you like to run this example without using Dapr as middleware, you may need t
| `SDV_MIDDLEWARE_TYPE` | `"dapr"` | Defines the middleware type -> set to `"native"`
| `SDV_MQTT_ADDRESS` | `"mqtt://localhost:1883"` | Address (and port) of the MQTT broker
| `SDV_VEHICLEDATABROKER_ADDRESS` | `"grpc://localhost:55555"` | Address (and port) of the KUKSA Data Broker


## Building a Docker image

This example app provides a Dockerfile to enable creating a Docker container image to run it.
The image must be build passing the repositories root folder as build context, e.g.:

``` bash
docker build -f app/Dockerfile .
```

:warning: If your build environment works behind (corporate) **proxy**, please remember telling docker your proxy configuration.
If you've set the respective environment variables, this might work:

``` bash
docker build -f app/Dockerfile . --build-arg http_proxy --build-arg HTTP_PROXY --build-arg https_proxy --build-arg HTTPS_PROXY --build-arg no_proxy --build-arg NO_PROXY
```

0 comments on commit a730ee9

Please sign in to comment.