Skip to content

Commit

Permalink
integration-tests: force pip installation
Browse files Browse the repository at this point in the history
Alpine Linux now complains that:

    The system-wide python installation should be maintained using the system
    package manager (apk) only.

But lbpytest is not available in the Alpine repositories, so we *have*
to install it via pip.

Using a virtual environment -- as suggested -- does not work either, we
really want to install it globally.

So use a workaround to override this check.
  • Loading branch information
chrboe committed Feb 20, 2024
1 parent 6244def commit 8d44356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM alpine
RUN apk update && \
apk add --no-cache openssh bash python3 py3-pip

RUN pip install lbpytest
RUN pip install --break-system-packages lbpytest

COPY entry.sh gatewaytest.py /
COPY tests /tests
Expand Down

0 comments on commit 8d44356

Please sign in to comment.