diff --git a/host/4/bullseye/amd64/powershell/powershell70/powershell70-composite.template b/host/4/bullseye/amd64/powershell/powershell70/powershell70-composite.template index 8e8f41d59..639985fea 100644 --- a/host/4/bullseye/amd64/powershell/powershell70/powershell70-composite.template +++ b/host/4/bullseye/amd64/powershell/powershell70/powershell70-composite.template @@ -20,7 +20,8 @@ RUN apt-get update && \ # copy bundles, host runtime and powershell worker from the build image COPY --from=runtime-image ["/FuncExtensionBundles", "/FuncExtensionBundles"] COPY --from=runtime-image ["/azure-functions-host", "/azure-functions-host"] -COPY --from=runtime-image ["/workers/powershell", "/azure-functions-host/workers/powershell"] +COPY --from=runtime-image ["/workers/powershell/worker.config.json", "/azure-functions-host/workers/powershell/worker.config.json"] +COPY --from=runtime-image ["/workers/powershell/7", "/azure-functions-host/workers/powershell/7"] EXPOSE 2222 80 diff --git a/host/4/bullseye/amd64/powershell/powershell70/powershell70-slim.Dockerfile b/host/4/bullseye/amd64/powershell/powershell70/powershell70-slim.Dockerfile index 76b6a5b5b..40c026c8b 100644 --- a/host/4/bullseye/amd64/powershell/powershell70/powershell70-slim.Dockerfile +++ b/host/4/bullseye/amd64/powershell/powershell70/powershell70-slim.Dockerfile @@ -60,6 +60,7 @@ RUN apt-get update && \ # copy bundles, host runtime and powershell worker from the build image COPY --from=runtime-image ["/azure-functions-host", "/azure-functions-host"] COPY --from=runtime-image ["/FuncExtensionBundles", "/FuncExtensionBundles"] -COPY --from=runtime-image ["/workers/powershell", "/azure-functions-host/workers/powershell"] +COPY --from=runtime-image ["/workers/powershell/worker.config.json", "/azure-functions-host/workers/powershell/worker.config.json"] +COPY --from=runtime-image ["/workers/powershell/7", "/azure-functions-host/workers/powershell/7"] CMD [ "/azure-functions-host/Microsoft.Azure.WebJobs.Script.WebHost" ] diff --git a/host/4/bullseye/amd64/powershell/powershell70/powershell70.Dockerfile b/host/4/bullseye/amd64/powershell/powershell70/powershell70.Dockerfile index 76b6a5b5b..40c026c8b 100644 --- a/host/4/bullseye/amd64/powershell/powershell70/powershell70.Dockerfile +++ b/host/4/bullseye/amd64/powershell/powershell70/powershell70.Dockerfile @@ -60,6 +60,7 @@ RUN apt-get update && \ # copy bundles, host runtime and powershell worker from the build image COPY --from=runtime-image ["/azure-functions-host", "/azure-functions-host"] COPY --from=runtime-image ["/FuncExtensionBundles", "/FuncExtensionBundles"] -COPY --from=runtime-image ["/workers/powershell", "/azure-functions-host/workers/powershell"] +COPY --from=runtime-image ["/workers/powershell/worker.config.json", "/azure-functions-host/workers/powershell/worker.config.json"] +COPY --from=runtime-image ["/workers/powershell/7", "/azure-functions-host/workers/powershell/7"] CMD [ "/azure-functions-host/Microsoft.Azure.WebJobs.Script.WebHost" ] diff --git a/host/4/bullseye/amd64/powershell/powershell72/powershell72-composite.template b/host/4/bullseye/amd64/powershell/powershell72/powershell72-composite.template index 05bbf5de0..c667e1aba 100644 --- a/host/4/bullseye/amd64/powershell/powershell72/powershell72-composite.template +++ b/host/4/bullseye/amd64/powershell/powershell72/powershell72-composite.template @@ -17,7 +17,8 @@ RUN apt-get update && \ # copy bundles, host runtime and powershell worker from the build image COPY --from=runtime-image ["/FuncExtensionBundles", "/FuncExtensionBundles"] COPY --from=runtime-image ["/azure-functions-host", "/azure-functions-host"] -COPY --from=runtime-image ["/workers/powershell", "/azure-functions-host/workers/powershell"] +COPY --from=runtime-image ["/workers/powershell/worker.config.json", "/azure-functions-host/workers/powershell/worker.config.json"] +COPY --from=runtime-image ["/workers/powershell/7.2", "/azure-functions-host/workers/powershell/7.2"] EXPOSE 2222 80 diff --git a/host/4/bullseye/amd64/powershell/powershell72/powershell72-slim.Dockerfile b/host/4/bullseye/amd64/powershell/powershell72/powershell72-slim.Dockerfile index 2b7db09e2..e6d60d344 100644 --- a/host/4/bullseye/amd64/powershell/powershell72/powershell72-slim.Dockerfile +++ b/host/4/bullseye/amd64/powershell/powershell72/powershell72-slim.Dockerfile @@ -57,6 +57,7 @@ RUN apt-get update && \ # copy bundles, host runtime and powershell worker from the build image COPY --from=runtime-image ["/azure-functions-host", "/azure-functions-host"] COPY --from=runtime-image ["/FuncExtensionBundles", "/FuncExtensionBundles"] -COPY --from=runtime-image ["/workers/powershell", "/azure-functions-host/workers/powershell"] +COPY --from=runtime-image ["/workers/powershell/worker.config.json", "/azure-functions-host/workers/powershell/worker.config.json"] +COPY --from=runtime-image ["/workers/powershell/7.2", "/azure-functions-host/workers/powershell/7.2"] CMD [ "/azure-functions-host/Microsoft.Azure.WebJobs.Script.WebHost" ] diff --git a/host/4/bullseye/amd64/powershell/powershell72/powershell72.Dockerfile b/host/4/bullseye/amd64/powershell/powershell72/powershell72.Dockerfile index 63d80e256..486cc97ec 100644 --- a/host/4/bullseye/amd64/powershell/powershell72/powershell72.Dockerfile +++ b/host/4/bullseye/amd64/powershell/powershell72/powershell72.Dockerfile @@ -57,6 +57,7 @@ RUN apt-get update && \ # copy bundles, host runtime and powershell worker from the build image COPY --from=runtime-image ["/azure-functions-host", "/azure-functions-host"] COPY --from=runtime-image ["/FuncExtensionBundles", "/FuncExtensionBundles"] -COPY --from=runtime-image ["/workers/powershell", "/azure-functions-host/workers/powershell"] +COPY --from=runtime-image ["/workers/powershell/worker.config.json", "/azure-functions-host/workers/powershell/worker.config.json"] +COPY --from=runtime-image ["/workers/powershell/7.2", "/azure-functions-host/workers/powershell/7.2"] CMD [ "/azure-functions-host/Microsoft.Azure.WebJobs.Script.WebHost" ]