Skip to content

Commit

Permalink
fix: force install via pip
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Dec 11, 2023
1 parent 5ded8e6 commit 7cbdd9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ FROM alpine:3.19
# renovate: datasource=pypi depName=ansible-doctor
ENV ANSIBLE_DOCTOR_VERSION=3.1.3

RUN apk add --no-cache bash python3 python3-dev py3-pip build-base && \
pip3 install -U ansible-doctor==${ANSIBLE_DOCTOR_VERSION} && \
apk del build-base && \
RUN apk add --no-cache bash python3 python3-dev py3-pip && \
pip3 install --break-system-packages -U ansible-doctor==${ANSIBLE_DOCTOR_VERSION} && \
rm -rf /root/.cache

ENTRYPOINT ["/usr/local/bin/entrypoint"]
Expand Down

0 comments on commit 7cbdd9c

Please sign in to comment.