From 1bc9140f1544ec33f590a626de2c67a3a505af6c Mon Sep 17 00:00:00 2001 From: weslambert Date: Fri, 8 Dec 2023 12:10:48 -0500 Subject: [PATCH] Remove EXTERNALLY-MANAGED and fix copies --- so-curator/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/so-curator/Dockerfile b/so-curator/Dockerfile index 1336523d..6eb1a660 100644 --- a/so-curator/Dockerfile +++ b/so-curator/Dockerfile @@ -25,15 +25,16 @@ ENV LC_ALL=en_US.UTF-8 USER root -RUN apk --no-cache add python3 py-setuptools py-pip gcc libffi py-cffi python3-dev libffi-dev py-openssl musl-dev linux-headers openssl-dev && \ +RUN apk --no-cache add python3 py-setuptools py-pip gcc libffi py-cffi python3-dev libffi-dev py-openssl musl-dev linux-headers openssl-dev +RUN rm -rf /usr/lib/python*/EXTERNALLY-MANAGED && \ pip install elasticsearch-curator && \ apk del gcc python3-dev libffi-dev musl-dev linux-headers openssl-dev RUN addgroup -g ${GID} ${USERNAME} && \ adduser -u ${UID} -G ${USERNAME} -D -H ${USERNAME} -COPY ../files/actions.py /usr/lib/python3.10/site-packages/curator/actions.py -COPY ../files/settings.py /usr/lib/python3.10/site-packages/curator/defaults/settings.py +COPY ./files/actions.py /usr/lib/python3.10/site-packages/curator/actions.py +COPY ./files/settings.py /usr/lib/python3.10/site-packages/curator/defaults/settings.py COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh