Skip to content

Commit 98a25c5

Browse files
committed
build(Dockerfile): Use MongoDB client 2.x version by default
1 parent ba53d5e commit 98a25c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ARG FILE_CAPABILITY=CAP_SYS_ADMIN
2222
RUN useradd -d /opt/powerapi -m powerapi && \
2323
apt update && \
2424
apt install -y libczmq4 libpfm4 libjson-c5 libcap2-bin && \
25-
echo "${MONGODB_SUPPORT}" |grep -iq "on" && apt install -y libmongoc-1.0-0 || true && \
25+
echo "${MONGODB_SUPPORT}" |grep -iq "on" && apt install -y libmongoc2-2 || true && \
2626
echo "${BUILD_TYPE}" |grep -iq "debug" && apt install -y libasan8 libubsan1 || true && \
2727
rm -rf /var/lib/apt/lists/*
2828
COPY --from=sensor-builder /usr/src/hwpc-sensor/build/hwpc-sensor /usr/bin/hwpc-sensor

0 commit comments

Comments
 (0)