Skip to content

Commit c9aa948

Browse files
[PRM-716-2] Remaining state machine Dockerfiles use pip (#99)
* [PRM-716-2] Remaining state machine Dockerfiles use pip * [PRM-716-2] Patch update for Gatsby 5.16.1 * [PRM-716-2] updated package-lock for Gatsby * [PRM-716-2] Added apt update & upgrade to dockerfiles
1 parent da74a8e commit c9aa948

7 files changed

Lines changed: 80 additions & 43 deletions

File tree

dashboard/package-lock.json

Lines changed: 38 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"date-fns": "^2.28.0",
4545
"dayjs": "^1.11.19",
4646
"fs-extra": "^11.3.3",
47-
"gatsby": "^5.16.0",
47+
"gatsby": "^5.16.1",
4848
"gatsby-plugin-layout": "^4.16.0",
4949
"gatsby-plugin-react-helmet": "^6.16.0",
5050
"gatsby-plugin-react-svg": "^3.3.0",
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
FROM python:3.14-slim
22

3-
COPY . /prmcalculator
3+
# Update the package list and upgrade all installed system packages
4+
RUN apt-get update && apt-get upgrade -y && \
5+
rm -rf /var/lib/apt/lists/*
6+
7+
WORKDIR /prmcalculator
8+
COPY ./src ./src
9+
COPY setup.py .
410

511
ARG IMAGE_TAG
612
ENV BUILD_TAG=${IMAGE_TAG}
713

8-
RUN pip install --upgrade pip && \
9-
pip install setuptools && \
10-
cd /prmcalculator && \
11-
python setup.py install
14+
RUN pip install --upgrade pip setuptools wheel && \
15+
pip install .
1216

1317
ENTRYPOINT ["python", "-m", "prmcalculator.pipeline.main"]

services/ods-downloader/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
FROM python:3.14-slim
22

3+
# Update the package list and upgrade all installed system packages
4+
RUN apt-get update && apt-get upgrade -y && \
5+
rm -rf /var/lib/apt/lists/*
6+
37
WORKDIR /prmods
48
COPY ./src ./src
59
COPY setup.py .
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
FROM python:3.14-slim
22

3-
COPY . /prmreportsgenerator
3+
# Update the package list and upgrade all installed system packages
4+
RUN apt-get update && apt-get upgrade -y && \
5+
rm -rf /var/lib/apt/lists/*
6+
7+
WORKDIR /prmreportsgenerator
8+
COPY ./src ./src
9+
COPY setup.py .
410

511
ARG IMAGE_TAG
612
ENV BUILD_TAG=${IMAGE_TAG}
713

8-
RUN pip install --upgrade pip && \
9-
pip install setuptools && \
10-
cd /prmreportsgenerator && \
11-
python setup.py install
14+
RUN pip install --upgrade pip setuptools wheel && \
15+
pip install .
1216

1317
ENTRYPOINT ["python", "-m", "prmreportsgenerator.main"]

services/spine-exporter/Dockerfile

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
FROM python:3.14-slim
2-
RUN python --version
3-
COPY . /prmexporter
2+
3+
# Update the package list and upgrade all installed system packages
4+
RUN apt-get update && apt-get upgrade -y && \
5+
rm -rf /var/lib/apt/lists/*
6+
7+
WORKDIR /prmexporter
8+
COPY ./src ./src
9+
COPY setup.py .
410

511
ARG IMAGE_TAG
612
ENV BUILD_TAG=${IMAGE_TAG}
713

8-
RUN pip install --upgrade pip && \
9-
pip install setuptools && \
10-
cd /prmexporter && \
11-
python setup.py install
14+
RUN pip install --upgrade pip setuptools wheel && \
15+
pip install .
1216

1317
ENTRYPOINT ["python", "-m", "prmexporter.main"]
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
FROM python:3.14-slim
22

3-
COPY . /prmdata
3+
# Update the package list and upgrade all installed system packages
4+
RUN apt-get update && apt-get upgrade -y && \
5+
rm -rf /var/lib/apt/lists/*
6+
7+
WORKDIR /prmdata
8+
COPY ./src ./src
9+
COPY setup.py .
410

511
ARG IMAGE_TAG
612
ENV BUILD_TAG=${IMAGE_TAG}
713

8-
RUN pip install --upgrade pip && \
9-
pip install setuptools && \
10-
cd /prmdata && \
11-
python setup.py install
14+
RUN pip install --upgrade pip setuptools wheel && \
15+
pip install .
1216

1317
ENTRYPOINT ["python", "-m", "prmdata.pipeline.main"]

0 commit comments

Comments
 (0)