Upgrade pip dependencies in dockerfile #30184
Answered
by
RahulGautamSingh
b-reich
asked this question in
Request Help
-
What would you like help with?I would like help with my configuration How are you running Renovate?Mend Renovate hosted app on github.com If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.No response Please tell us more about your question or problemIs there a way to detect upgraded python libs in a Dockerfile? My Dockerfile so far: FROM docker.io/library/debian:stable-slim as build
ENV DEBIAN_FRONTEND noninteractive
# RUN apt-get update && apt-get install -y ibgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0
# RUN apk add --no-cache \
# build-base cairo-dev cairo cairo-tools cargo
RUN \
set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
libuv1 \
openssl \
zlib1g \
libjson-c5 \
python3-venv \
python3-pip \
python3-gi \
python3-gi-cairo \
python3-dbus \
python3-psutil \
unzip \
libcairo2 \
gdb \
git \
&& git clone --depth 1 -b master \
https://github.com/project-chip/connectedhomeip \
&& cp -r connectedhomeip/credentials /root/credentials
WORKDIR /data
FROM docker.io/library/python
COPY --from=build connectedhomeip/credentials /root/credentials
ENV MATTER_SERVER_VERSION 3.5.0
RUN pip3 install --no-cache-dir python-matter-server[server]=="${MATTER_SERVER_VERSION}"
CMD [ "python3", "-m", "matter_server.server", "--storage-path", "/data" ]
VOLUME ["/data"]
EXPOSE 5580
Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Answered by
RahulGautamSingh
Jul 15, 2024
Replies: 1 comment 7 replies
-
Is this the version string that should be updates and the dependency being If yes, you can use customManager for this. |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
b-reich
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this the version string that should be updates and the dependency being
python-matter-server[server]
?If yes, you can use customManager for this.