chore: upgrade Jenkins and agents to Java 21

This commit is contained in:
Brent Perteet
2026-08-27 16:22:25 +00:00
parent 9e1cce70e6
commit fea44a743d
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
openssh-server openjdk-17-jre-headless git make build-essential python3 \
openssh-server openjdk-21-jre-headless git make build-essential python3 \
curl unzip ca-certificates xz-utils \
# Electron runtime deps: MCUXpressoInstallerCLI ships as an Electron
# app and needs these even for headless/CLI use.

View File

@@ -2,7 +2,7 @@ FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
openssh-server openjdk-17-jre-headless git make build-essential \
openssh-server openjdk-21-jre-headless git make build-essential \
curl unzip ca-certificates \
libxext6 libxrender1 libxtst6 libxi6 libusb-1.0-0 \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -1,4 +1,4 @@
FROM jenkins/jenkins:lts-jdk17
FROM jenkins/jenkins:2.568.2-lts-jdk21
COPY controller/plugins.txt /usr/share/jenkins/ref/plugins.txt
RUN jenkins-plugin-cli --plugin-file /usr/share/jenkins/ref/plugins.txt