Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile.django-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ FROM base AS build
WORKDIR /app
RUN \
apk update && \
apk upgrade --no-cache && \
apk add --no-cache \
gcc \
build-base \
Expand Down Expand Up @@ -40,6 +41,7 @@ ARG appuser=defectdojo
ENV appuser=${appuser}
RUN \
apk update && \
apk upgrade --no-cache && \
apk add --no-cache \
openjpeg \
jpeg \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.django-debian
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ FROM base AS build
WORKDIR /app
RUN \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install --no-install-recommends \
gcc \
build-essential \
Expand Down Expand Up @@ -39,6 +40,7 @@ ARG appuser=defectdojo
ENV appuser=${appuser}
RUN \
apt-get -y update && \
apt-get -y upgrade && \
# ugly fix to install postgresql-client without errors
mkdir -p /usr/share/man/man1 /usr/share/man/man7 && \
apt-get -y install --no-install-recommends \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.integration-tests-debian
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FROM python:3.13.11-slim-trixie@sha256:51e1a0a317fdb6e170dc791bbeae63fac5272c82f
WORKDIR /app
RUN \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install \
git \
wget \
Expand All @@ -20,6 +21,7 @@ RUN \
xvfb \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists && \
true

RUN pip install --no-cache-dir selenium==4.9.0 requests
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.nginx-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ FROM base AS build
WORKDIR /app
RUN \
apk update && \
apk upgrade --no-cache && \
apk add --no-cache \
gcc \
build-base \
Expand Down Expand Up @@ -70,12 +71,14 @@ COPY --from=collectstatic /app/static/ /usr/share/nginx/html/static/
COPY wsgi_params nginx/nginx.conf nginx/nginx_TLS.conf /etc/nginx/
COPY docker/entrypoint-nginx.sh /
RUN \
apk upgrade --no-cache && \
apk add --no-cache openssl && \
chmod -R g=u /var/cache/nginx && \
mkdir /var/run/defectdojo && \
chmod -R g=u /var/run/defectdojo && \
mkdir -p /etc/nginx/ssl && \
chmod -R g=u /etc/nginx && \
rm -rf /var/cache/apk/* && \
true
ENV \
DD_UWSGI_PASS="uwsgi_server" \
Expand Down