Skip to content

Commit

Permalink
Pin python-confluent-kafka to 2.4.0
Browse files Browse the repository at this point in the history
Current would be 2.5.0, and sqlite3 import failed with it.
Pin it to the version of the last prompt-service release 4.1.2.

Check if python-confluent-kafka already exists, if not, install
the fixed version.

rubin-env 9 will come with a python-confluent-kafka.
  • Loading branch information
hsinfang committed Jul 16, 2024
1 parent 27fb22f commit 55293b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
ARG STACK_TAG=d_latest
FROM lsstsqre/centos:${STACK_TAG}
ENV PYTHONUNBUFFERED True
ARG kafka=python-confluent-kafka
RUN source /opt/lsst/software/stack/loadLSST.bash \
&& mamba install -y \
flask \
gunicorn \
python-confluent-kafka \
&& (mamba list ${kafka} | grep ${kafka} || \
mamba install -y "${kafka}=2.4.0" ) \
&& pip install --no-input \
cloudevents

0 comments on commit 55293b8

Please sign in to comment.