File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 matrix :
4949 java :
5050 - ' lts'
51+ - ' 25'
5152
5253 steps :
5354 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1+ # Java image for AMP containers including Temurin Java 25
2+ # cubecoders/ampbase:java-25
3+
4+ FROM cubecoders/ampbase:debian
5+
6+ LABEL org.opencontainers.image.licenses=MIT
7+
8+ ENV DEBIAN_FRONTEND="noninteractive"
9+
10+ ARG TARGETARCH
11+
12+ # Install required packages and Temurin Java 25
13+ RUN set -eux; \
14+ apt-get update; \
15+ # Add dependencies as per official Adoptium images
16+ apt-get install -o APT::Keep-Downloaded-Packages="false" -y --no-install-recommends \
17+ fontconfig binutils p11-kit; \
18+ install -d -m 0755 /etc/apt/keyrings; \
19+ wget -qO- https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor -o /etc/apt/keyrings/adoptium.gpg; \
20+ printf 'Types: deb\n URIs: https://packages.adoptium.net/artifactory/deb\n Suites: trixie\n Components: main\n Signed-By: /etc/apt/keyrings/adoptium.gpg\n ' | tee /etc/apt/sources.list.d/adoptium.sources >/dev/null; \
21+ apt-get update; \
22+ apt-get install -o APT::Keep-Downloaded-Packages="false" -y \
23+ temurin-25-jdk; \
24+ apt-get clean; \
25+ rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments