Добавлена JDK 17 Ubuntu
This commit is contained in:
parent
0a2ccf8491
commit
9724134a61
@ -23,6 +23,7 @@ build-images:
|
||||
- gradle-rhel-jdk17-ubi10
|
||||
- eclipse-temurin-rhel-17-jre-ubi10-minimal
|
||||
- alpine-3-23-2
|
||||
- gradle-ubuntu-jdk17-noble
|
||||
|
||||
script:
|
||||
- echo $REGISTRY_PASSWORD | docker login -u $REGISTRY_USER --password-stdin $REGISTRY
|
||||
|
||||
26
Dockerfile.jdk-ubuntu
Normal file
26
Dockerfile.jdk-ubuntu
Normal file
@ -0,0 +1,26 @@
|
||||
ARG BASE_REPO="repo.nstart.local/library/"
|
||||
ARG BASE_TAG="jdk17-noble"
|
||||
|
||||
FROM ${BASE_REPO}gradle:${BASE_TAG}
|
||||
|
||||
COPY --chmod=007 ca/nstart.local.crt /usr/local/share/ca-certificates/nstart.local.crt
|
||||
|
||||
COPY apt/99ca /etc/apt/apt.conf.d/99ca
|
||||
COPY apt/ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources
|
||||
|
||||
COPY ca/nstart.local.crt /certificates/
|
||||
ENV USE_SYSTEM_CA_CERTS=1
|
||||
|
||||
ENV GRADLE_USER_HOME=/etc/gradle
|
||||
COPY java/00-nstart-repos.gradle /etc/gradle/init.d/00-nstart-repos.gradle
|
||||
|
||||
RUN <<EOF
|
||||
set -eux
|
||||
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends maven ca-certificates
|
||||
update-ca-certificates
|
||||
EOF
|
||||
|
||||
|
||||
COPY java/maven.xml /etc/maven/settings.xml
|
||||
@ -9,6 +9,7 @@
|
||||
- Python 3.14, 3.13 (Debian)
|
||||
- Java 17, 25 JRE Eclipse Temurin (RHEL)
|
||||
- Java 17, 25 JDK Eclipse Temurin Gradle (RHEL)
|
||||
- Java 17 JDK Eclipse Temurin Gradle (Ubuntu)
|
||||
|
||||
## Сборка
|
||||
|
||||
|
||||
5
apt/ubuntu.sources
Normal file
5
apt/ubuntu.sources
Normal file
@ -0,0 +1,5 @@
|
||||
Types: deb
|
||||
URIs: https://repo.nstart.local/repository/apt-proxy/ubuntu
|
||||
Suites: noble noble-updates noble-backports noble-security
|
||||
Components: main restricted universe multiverse
|
||||
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
|
||||
@ -38,6 +38,7 @@ target "image" {
|
||||
{ image = "python", distro= "debian", version = "3.13-slim-trixie", dockerfile="Dockerfile.python-deb" },
|
||||
{ image = "eclipse-temurin", distro= "rhel", version = "25-jre-ubi10-minimal", dockerfile="Dockerfile.jre-rhel" },
|
||||
{ image = "gradle", distro= "rhel", version = "jdk25-ubi10", dockerfile="Dockerfile.jdk-rhel" },
|
||||
{ image = "gradle", distro= "ubuntu", version = "jdk17-noble", dockerfile="Dockerfile.jdk-ubuntu" },
|
||||
{ image = "eclipse-temurin", distro= "rhel", version = "17-jre-ubi10-minimal", dockerfile="Dockerfile.jre-rhel" },
|
||||
{ image = "gradle", distro= "rhel", version = "jdk17-ubi10", dockerfile="Dockerfile.jdk-rhel" },
|
||||
{ image = "alpine", distro= "", version = "3.23.2", dockerfile="Dockerfile.alpine" }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user