From 0ce417de882fb09bf432d25e880c302e4c9776ec Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Wed, 31 May 2023 16:23:41 +0200 Subject: [PATCH] fix(chalice): changed base image to support SSO/xmlsec --- ee/api/Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ee/api/Dockerfile b/ee/api/Dockerfile index 3250baacc..48c4f9c82 100644 --- a/ee/api/Dockerfile +++ b/ee/api/Dockerfile @@ -1,7 +1,12 @@ -FROM python:3.11-alpine -LABEL Maintainer="Rajesh Rajendran" +#FROM python:3.11-alpine +FROM python:3.11-slim LABEL Maintainer="KRAIEM Taha Yassine" -RUN apk add --no-cache build-base libressl libffi-dev libressl-dev libxslt-dev libxml2-dev xmlsec-dev xmlsec tini +#RUN apk add --no-cache build-base libressl libffi-dev libressl-dev libxslt-dev libxml2-dev xmlsec-dev xmlsec tini +ADD http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz . +RUN apt-get update && apt-get install -y pkg-config libxmlsec1-dev gcc tini && rm -rf /var/lib/apt/lists/* \ + && tar -xvf libxml2-2.9.1.tar.gz && cd libxml2-2.9.1 && ./configure && make && make install + + ARG envarg ENV SOURCE_MAP_VERSION=0.7.4 \ APP_NAME=chalice \