parent
c29a31e3e4
commit
953bab9773
1 changed files with 9 additions and 7 deletions
|
|
@ -1,7 +1,9 @@
|
|||
#FROM python:3.11-alpine #revert to this image when this issue is fixed https://github.com/xmlsec/python-xmlsec/issues/252
|
||||
FROM python:3.11-slim
|
||||
FROM python:3.11-alpine3.17
|
||||
#revert to this image when this issue is fixed https://github.com/xmlsec/python-xmlsec/issues/252
|
||||
#FROM python:3.11-slim
|
||||
LABEL Maintainer="KRAIEM Taha Yassine<tahayk2@gmail.com>"
|
||||
RUN apt-get update && apt-get install -y pkg-config libxmlsec1-dev gcc tini && rm -rf /var/lib/apt/lists/*
|
||||
RUN apk add --no-cache build-base libressl libffi-dev libressl-dev libxslt-dev libxml2-dev xmlsec-dev xmlsec tini
|
||||
#RUN apt-get update && apt-get install -y pkg-config libxmlsec1-dev gcc tini && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ARG envarg
|
||||
ENV SOURCE_MAP_VERSION=0.7.4 \
|
||||
|
|
@ -17,10 +19,10 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|||
COPY . .
|
||||
RUN mv env.default .env
|
||||
|
||||
RUN #adduser -u 1001 openreplay -D
|
||||
RUN useradd -mu 1001 openreplay
|
||||
RUN adduser -u 1001 openreplay -D
|
||||
#RUN useradd -mu 1001 openreplay
|
||||
USER 1001
|
||||
|
||||
#ENTRYPOINT ["/sbin/tini", "--"]
|
||||
ENTRYPOINT ["tini", "--"]
|
||||
ENTRYPOINT ["/sbin/tini", "--"]
|
||||
#ENTRYPOINT ["tini", "--"]
|
||||
CMD ./entrypoint.sh
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue