Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions host/base/host.DockerFIle
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ ARG EXTENSION_BUNDLE_VERSION
ARG JAVA_VERSION
ARG JDK_NAME
ARG JAVA_HOME
ARG EXTENSION_BUNDLE_CDN_URL=https://functionscdn.azureedge.net/public
ARG EXTENSION_BUNDLE_CDN_URL=https://cdn.functions.azure.com/public

ENV PublishWithAspNetCoreTargetManifest=false

RUN if [ "$EXTENSION_BUNDLE_CDN_URL" != "https://functionscdn.azureedge.net/public" ] && [ -z "$EXTENSION_BUNDLE_VERSION" ]; then \
echo 'Error: EXTENSION_BUNDLE_VERSION must be set when EXTENSION_BUNDLE_CDN_URL is not "https://functionscdn.azureedge.net/public"' && exit 1; \
RUN if [ "$EXTENSION_BUNDLE_CDN_URL" != "https://cdn.functions.azure.com/public" ] && [ -z "$EXTENSION_BUNDLE_VERSION" ]; then \
echo 'Error: EXTENSION_BUNDLE_VERSION must be set when EXTENSION_BUNDLE_CDN_URL is not "https://cdn.functions.azure.com/public"' && exit 1; \
fi

RUN apt-get update && apt-get install -y curl jq gnupg wget unzip
Expand Down