File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 11# Changelog
22All notable changes to the docker containers will be documented in this file.
33
4+ ### 2026-02-25
5+ - Updated live image to debian: trixie and JDK 21
6+
47### 2026-02-09
58- Added support for the delay job in the baseline
69
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22# This dockerfile builds a 'live' zap docker image using the latest files in the repos
3- FROM --platform=linux/amd64 debian:bookworm -slim AS builder
3+ FROM --platform=linux/amd64 debian:trixie -slim AS builder
44
55ARG DEBIAN_FRONTEND=noninteractive
66
77RUN apt-get update && apt-get install -q -y --fix-missing \
8- openjdk-17 -jdk \
8+ openjdk-21 -jdk \
99 wget \
1010 curl \
1111 unzip \
@@ -34,7 +34,7 @@ RUN --mount=type=secret,id=webswing_url \
3434 # Remove Webswing bundled examples
3535 rm -Rf webswing/apps/
3636
37- FROM debian:bookworm -slim AS final
37+ FROM debian:trixie -slim AS final
3838LABEL maintainer="psiinon@gmail.com"
3939
4040ARG DEBIAN_FRONTEND=noninteractive
@@ -45,7 +45,7 @@ RUN apt-get update && apt-get install -q -y --fix-missing \
4545 automake \
4646 autoconf \
4747 gcc g++ \
48- openjdk-17 -jdk \
48+ openjdk-21 -jdk \
4949 wget \
5050 curl \
5151 xmlstarlet \
@@ -67,12 +67,11 @@ RUN apt-get update && apt-get install -q -y --fix-missing \
6767 mkdir /zap && \
6868 chown zap:zap /zap
6969
70- RUN pip3 install \
70+ RUN pip install \
7171 --break-system-packages \
7272 --no-cache-dir \
7373 --upgrade \
7474 awscli \
75- pip \
7675 zaproxy \
7776 pyyaml \
7877 requests \
@@ -84,7 +83,7 @@ USER zap
8483RUN mkdir /home/zap/.vnc
8584
8685ARG TARGETARCH
87- ENV JAVA_HOME=/usr/lib/jvm/java-17 -openjdk-$TARGETARCH
86+ ENV JAVA_HOME=/usr/lib/jvm/java-21 -openjdk-$TARGETARCH
8887ENV PATH=$JAVA_HOME/bin:/zap/:$PATH
8988
9089ENV ZAP_PATH=/zap/zap.sh
You can’t perform that action at this time.
0 commit comments