chore: upgrade Jenkins and agents to Java 21
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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/*
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user