Skip to content

Commit

Permalink
fix: use pip in place of pipx because does not work with gosu and pip…
Browse files Browse the repository at this point in the history
…x from distro is outdated
  • Loading branch information
ymarcon committed Nov 7, 2024
1 parent cfd51db commit ecbd7e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ ENV VALIDATE_PLUGIN_VERSION=2.0.0
WORKDIR /tmp
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y daemon psmisc apt-transport-https unzip curl pipx libcurl4-openssl-dev libssl-dev && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y daemon psmisc apt-transport-https unzip curl python3-pip libcurl4-openssl-dev libssl-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/

# Install Opal Python Client
RUN pipx install obiba-opal
RUN pip install --break-system-packages obiba-opal

# Install Opal Server
RUN set -x && \
Expand Down

0 comments on commit ecbd7e4

Please sign in to comment.