From b798f138d1ef81997776e6d5d952602aed68c77d Mon Sep 17 00:00:00 2001 From: GBBBAS <42962356+GBBBAS@users.noreply.github.com> Date: Mon, 27 Mar 2023 15:21:42 +0100 Subject: [PATCH] Cleanup Dockerfile Signed-off-by: GBBBAS <42962356+GBBBAS@users.noreply.github.com> --- src/api/Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/api/Dockerfile b/src/api/Dockerfile index 8cd9b2551..0f3ac2490 100644 --- a/src/api/Dockerfile +++ b/src/api/Dockerfile @@ -13,18 +13,16 @@ # limitations under the License. # To enable ssh & remote debugging on app service change the base image to the one below -FROM mcr.microsoft.com/azure-functions/python:4-nightly-python3.10 +FROM mcr.microsoft.com/azure-functions/python:4-python3.10 ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ AzureFunctionsJobHost__Logging__Console__IsEnabled=true - -RUN sed -i '/jessie/d' /etc/apt/sources.list \ - && apt-get update -RUN rm -rf /var/lib/apt/lists/partial \ +RUN sed -i '/jessie/d' /etc/apt/sources.list \ + && rm -rf /var/lib/apt/lists/partial \ && apt-get clean \ && apt-get update -o Acquire::CompressionTypes::Order::=gz \ - && apt-get upgrade \ + && apt-get upgrade -y \ && apt-get install -y gcc g++ odbcinst1debian2 libodbc1 odbcinst unixodbc-dev libsasl2-dev libsasl2-modules-gssapi-mit \ && apt-get install -y ca-certificates curl