File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55# Dockerfile.nginx to use the caching mechanism of Docker.
66
77# Ref: https://devguide.python.org/#branchstatus
8- FROM python:3.11.11 -alpine3.21 @sha256:9af3561825050da182afc74b106388af570b99c500a69c8216263aa245a2001b AS base
8+ FROM python:3.11.13 -alpine3.22 @sha256:8d8c6d3808243160605925c2a7ab2dc5c72d0e75651699b0639143613e0855b8 AS base
99FROM base AS build
1010WORKDIR /app
1111RUN \
Original file line number Diff line number Diff line change 55# Dockerfile.django-alpine to use the caching mechanism of Docker.
66
77# Ref: https://devguide.python.org/#branchstatus
8- FROM python:3.11.11 -alpine3.20 @sha256:6e18772230b36e78251ed179a2a2a2b3cc94726f02e1fddccdcfbe05b17bdc96 AS base
8+ FROM python:3.11.13 -alpine3.22 @sha256:8d8c6d3808243160605925c2a7ab2dc5c72d0e75651699b0639143613e0855b8 AS base
99
1010FROM base AS build
1111WORKDIR /app
@@ -54,7 +54,7 @@ COPY manage.py ./
5454COPY dojo/ ./dojo/
5555RUN env DD_SECRET_KEY='.' python3 manage.py collectstatic --noinput && true
5656
57- FROM nginx:1.28.0-alpine3.21 @sha256:d83c0138ea82c9f05c4378a5001e0c71256b647603c10c186bd7697a4db722d3
57+ FROM nginx:1.28.0-alpine3.22 @sha256:d83c0138ea82c9f05c4378a5001e0c71256b647603c10c186bd7697a4db722d3
5858ARG uid=1001
5959ARG appuser=defectdojo
6060COPY --from=collectstatic /app/static/ /usr/share/nginx/html/static/
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ COPY dojo/ ./dojo/
7373
7474RUN env DD_SECRET_KEY='.' python3 manage.py collectstatic --noinput && true
7575
76- FROM nginx:1.28.0 -alpine3.21 @sha256:d83c0138ea82c9f05c4378a5001e0c71256b647603c10c186bd7697a4db722d3
76+ FROM nginx:1.29.1 -alpine3.22 @sha256:42a516af16b852e33b7682d5ef8acbd5d13fe08fecadc7ed98605ba5e3b26ab8
7777ARG uid=1001
7878ARG appuser=defectdojo
7979COPY --from=collectstatic /app/static/ /usr/share/nginx/html/static/
You can’t perform that action at this time.
0 commit comments