fix(chalice): changed base image to support SSO/xmlsec

This commit is contained in:
Taha Yassine Kraiem 2023-05-31 16:23:41 +02:00
parent 2a623b351b
commit 0ce417de88

View file

@ -1,7 +1,12 @@
FROM python:3.11-alpine
LABEL Maintainer="Rajesh Rajendran<rjshrjndrn@gmail.com>"
#FROM python:3.11-alpine
FROM python:3.11-slim
LABEL Maintainer="KRAIEM Taha Yassine<tahayk2@gmail.com>"
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 \