diff --git a/azure-functions-archetype/pom.xml b/azure-functions-archetype/pom.xml index f1fc47f..ef13452 100644 --- a/azure-functions-archetype/pom.xml +++ b/azure-functions-archetype/pom.xml @@ -6,7 +6,7 @@ com.microsoft.azure azure-functions-archetype - 1.26-SNAPSHOT + 1.26 jar Maven Archetype for Azure Functions diff --git a/azure-functions-archetype/src/main/resources/archetype-resources/Dockerfile b/azure-functions-archetype/src/main/resources/archetype-resources/Dockerfile index c4c9568..851fe18 100644 --- a/azure-functions-archetype/src/main/resources/archetype-resources/Dockerfile +++ b/azure-functions-archetype/src/main/resources/archetype-resources/Dockerfile @@ -8,9 +8,15 @@ RUN cd /src/java-function-app && \ cd $(ls -d */|head -n 1) && \ cp -a . /home/site/wwwroot -# To enable ssh & remote debugging on app service change the base image to the one below -# FROM mcr.microsoft.com/azure-functions/java:3.0-java8-appservice -FROM mcr.microsoft.com/azure-functions/java:3.0-java8 +# This Zulu OpenJDK Dockerfile and corresponding Docker image are +# to be used solely with Java applications or Java application components +# that are being developed for deployment on Microsoft Azure or Azure Stack, +# and are not intended to be used for any other purpose. +# This image is ssh enabled +FROM mcr.microsoft.com/azure-functions/java:3.0-java8-appservice + +# If you want to deploy outside of Azure, use this image +#FROM mcr.microsoft.com/azure-functions/java:3.0-java8 ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ AzureFunctionsJobHost__Logging__Console__IsEnabled=true diff --git a/azure-functions-archetype/src/main/resources/archetype-resources/pom-docker.xml b/azure-functions-archetype/src/main/resources/archetype-resources/pom-docker.xml index 210e345..e3182df 100644 --- a/azure-functions-archetype/src/main/resources/archetype-resources/pom-docker.xml +++ b/azure-functions-archetype/src/main/resources/archetype-resources/pom-docker.xml @@ -13,7 +13,7 @@ UTF-8 1.8 1.8 - 1.4.0 + 1.4.1 1.3.1 ${artifactId.toLowerCase()}-${package.getClass().forName("java.time.LocalDateTime").getMethod("now").invoke(null).format($package.Class.forName("java.time.format.DateTimeFormatter").getMethod("ofPattern", $package.Class).invoke(null, "yyyyMMddHHmmssSSS"))} ${project.build.directory}/azure-functions/${functionAppName} @@ -128,7 +128,7 @@ westus - P1V2 + EP1 docker