Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Commit 0814951

Browse files
committed
Use renovate.json to control poetry version.
1 parent a40c8d0 commit 0814951

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ __pycache__
1111

1212
# Documentation, etc.
1313
LICENSE
14-
renovate.json

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,22 @@ ARG POETRY_CACHE
44
ENV DEBIAN_FRONTEND noninteractive
55
ENV PATH="${PATH}:/root/.local/bin"
66
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
7+
WORKDIR /root
8+
COPY renovate.json /root/
79
RUN apt-get update && apt-get install --no-install-recommends -y -q \
810
ca-certificates \
911
curl \
1012
gcc \
1113
git \
1214
libcairo2-dev \
1315
libev-dev \
16+
jq \
1417
python3 \
1518
python3-dev \
1619
python3-pip \
1720
python3-pyqt5 \
1821
python3-pyqt5.sip && \
19-
curl -sSL https://install.python-poetry.org | python3 - --version 1.7.1 && \
22+
curl -sSL https://install.python-poetry.org | python3 - --version "$(jq -r .constraints.poetry /root/renovate.json)" && \
2023
poetry config virtualenvs.create false && \
2124
python3 -m pip install --no-cache-dir --upgrade pip
2225
COPY --from=iqtlabs/gamutrf-base:latest /usr/local /usr/local

docker/Dockerfile.waterfall

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ ARG POETRY_CACHE
44
ENV DEBIAN_FRONTEND noninteractive
55
ENV PATH="${PATH}:/root/.local/bin"
66
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
7+
WORKDIR /root
8+
COPY renovate.json /root/
79
# hadolint ignore=DL3008
810
RUN apt-get update && apt-get install --no-install-recommends -y -q \
911
ca-certificates \
1012
curl \
1113
gcc \
1214
git \
15+
jq \
1316
libcairo2-dev \
1417
libev-dev \
1518
python3 \
1619
python3-dev \
1720
python3-pip \
1821
unzip \
1922
wget && \
20-
curl -sSL https://install.python-poetry.org | python3 - --version 1.7.1 && \
23+
curl -sSL https://install.python-poetry.org | python3 - --version "$(jq -r .constraints.poetry /root/renovate.json)" && \
2124
poetry config virtualenvs.create false
2225
WORKDIR /root
2326
RUN wget -Ojquery.min.js https://code.jquery.com/jquery-3.7.1.min.js

0 commit comments

Comments
 (0)