diff --git a/docker/test-images/zipkin-cassandra/install.sh b/docker/test-images/zipkin-cassandra/install.sh index 96bc436c46e..59b72569fd9 100755 --- a/docker/test-images/zipkin-cassandra/install.sh +++ b/docker/test-images/zipkin-cassandra/install.sh @@ -201,6 +201,9 @@ apk add --update --no-cache python3 py3-pip # the following are necessary for compiling cffi. If pip someday changes and # doesn't compile cffi on arrch64 then we can remove these dependencies. apk add --update --no-cache gcc python3-dev musl-dev libffi-dev +# PEP 668 protects against mixing system and pip packages. Setup virtual env to avoid this. +python3 -m venv .venv +source .venv/bin/activate pip install -Iq cqlsh function cql() { cqlsh --cqlversion=${cqlversion} "$@" 127.0.0.1 ${temp_native_transport_port} diff --git a/docker/test-images/zipkin-mysql/Dockerfile b/docker/test-images/zipkin-mysql/Dockerfile index 0961a05cc82..edd73e07641 100644 --- a/docker/test-images/zipkin-mysql/Dockerfile +++ b/docker/test-images/zipkin-mysql/Dockerfile @@ -37,7 +37,7 @@ HEALTHCHECK --interval=1s --start-period=30s --timeout=5s CMD ["docker-healthche ENTRYPOINT ["start-mysql"] # Use latest from https://pkgs.alpinelinux.org/packages?name=mysql -ARG mysql_version=10.11.3 +ARG mysql_version=10.11.4 LABEL mysql-version=$mysql_version ENV MYSQL_VERSION=$mysql_version