Skip to content

Commit

Permalink
Remove EXTERNALLY-MANAGED and fix copies
Browse files Browse the repository at this point in the history
  • Loading branch information
weslambert authored Dec 8, 2023
1 parent 78e1dd6 commit 1bc9140
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions so-curator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1bc9140

Please sign in to comment.