From 0dcbbf3be45663295ff69c89b575e07360cd52a3 Mon Sep 17 00:00:00 2001 From: Robin-Manuel Thiel Date: Wed, 30 Mar 2022 23:17:26 +0200 Subject: [PATCH] Add mandatory `dapr init` step to Self-Hosted Mode in Container Docs (#2303) I followed the docs to ship Dapr together with an app inside the same container and came across the issue that `daprd` in the `ENTRYPOINT` was not available until i initialized dapr in slim mode. Signed-off-by: Robin-Manuel Thiel Co-authored-by: Mark Fussell --- .../operations/hosting/self-hosted/self-hosted-with-docker.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daprdocs/content/en/operations/hosting/self-hosted/self-hosted-with-docker.md b/daprdocs/content/en/operations/hosting/self-hosted/self-hosted-with-docker.md index 4dcd439b4..b640666c9 100644 --- a/daprdocs/content/en/operations/hosting/self-hosted/self-hosted-with-docker.md +++ b/daprdocs/content/en/operations/hosting/self-hosted/self-hosted-with-docker.md @@ -67,6 +67,7 @@ RUN wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh ARG DAPR_BUILD_DIR COPY $DAPR_BUILD_DIR /opt/dapr ENV PATH="/opt/dapr/:${PATH}" +RUN dapr init --slim # Install your app WORKDIR /app @@ -176,4 +177,4 @@ There are published Docker images for each of the Dapr components available on [ - `latest-arm`: The latest release version for ARM, **ONLY** use for development purposes. - `edge-arm`: The latest edge build for ARM (master). - `major.minor.patch-arm`: A release version for ARM. -- `major.minor.patch-rc.iteration-arm`: A release candidate for ARM. \ No newline at end of file +- `major.minor.patch-rc.iteration-arm`: A release candidate for ARM.