File tree 11 files changed +59
-153
lines changed
11 files changed +59
-153
lines changed Original file line number Diff line number Diff line change 20
20
DOCKER_TAG_TO_PUBLISH=8u382-bullseye-temurin-jdk
21
21
- DOCKER_IMAGE_BASE=debian:buster-slim JDK_VENDOR=temurin JDK_MAJOR=8 JDK_VERSION=8.0.382.0.0+5
22
22
DOCKER_TAG_TO_PUBLISH=8u382-buster-temurin-jdk
23
+ - DOCKER_IMAGE_BASE=debian:stretch-slim JDK_VENDOR=temurin JDK_MAJOR=8 JDK_VERSION=8.0.322.0.0+6-1
24
+ DOCKER_TAG_TO_PUBLISH=8u322-buster-temurin-jdk
25
+
26
+ - DOCKER_IMAGE_BASE=debian:stretch-slim JDK_MAJOR=8 DOCKER_TAG_TO_PUBLISH=8-stretch-openjdk-headless
23
27
24
28
- DOCKER_IMAGE_BASE=ubuntu:bionic JDK_MAJOR=8 JDK_VERSION=8u372-ga~us1-0ubuntu1~18.04
25
29
DOCKER_TAG_TO_PUBLISH=8u372-bionic-openjdk-headless
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ galaxy_info:
9
9
platforms :
10
10
- name : Debian
11
11
versions :
12
+ - stretch
12
13
- buster
13
14
- bullseye
14
15
- bookworm
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,6 +9,18 @@ FROM {{ item.image }}
9
9
RUN mkdir -p /usr/share/man/man1
10
10
RUN if [ $(command -v apt-get) ]; then sed -i -e 's/^APT/# APT/' -e 's/^DPkg/# DPkg/' /etc/apt/apt.conf.d/docker-clean; fi
11
11
12
+ {% if 'stretch' in item .image %}
13
+ RUN echo "deb http://archive.debian.org/debian/ stretch contrib main non-free" > /etc/apt/sources.list && \
14
+ echo "deb-src http://archive.debian.org/debian/ stretch contrib main non-free" >> /etc/apt/sources.list && \
15
+ echo "deb http://archive.debian.org/debian-security stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
16
+ echo "deb-src http://archive.debian.org/debian-security stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
17
+ echo "deb http://archive.debian.org/debian/ stretch-proposed-updates main contrib non-free" >> /etc/apt/sources.list && \
18
+ echo "deb-src http://archive.debian.org/debian/ stretch-proposed-updates main contrib non-free" >> /etc/apt/sources.list && \
19
+ echo "deb http://archive.debian.org/debian/ stretch-backports main contrib non-free" >> /etc/apt/sources.list && \
20
+ echo "deb-src http://archive.debian.org/debian/ stretch-backports main contrib non-free" >> /etc/apt/sources.list && \
21
+ apt-get update
22
+ {% endif %}
23
+
12
24
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get upgrade -y && apt-get install -y python3 sudo bash ca-certificates && apt-get clean; \
13
25
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python36 sudo python3-dnf bash && dnf clean all; \
14
26
elif [ $(command -v yum) ]; then yum makecache fast && yum update -y && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
Original file line number Diff line number Diff line change @@ -8,6 +8,18 @@ FROM {{ item.image }}
8
8
9
9
RUN mkdir -p /usr/share/man/man1
10
10
11
+ {% if 'stretch' in item .image %}
12
+ RUN echo "deb http://archive.debian.org/debian/ stretch contrib main non-free" > /etc/apt/sources.list && \
13
+ echo "deb-src http://archive.debian.org/debian/ stretch contrib main non-free" >> /etc/apt/sources.list && \
14
+ echo "deb http://archive.debian.org/debian-security stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
15
+ echo "deb-src http://archive.debian.org/debian-security stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
16
+ echo "deb http://archive.debian.org/debian/ stretch-proposed-updates main contrib non-free" >> /etc/apt/sources.list && \
17
+ echo "deb-src http://archive.debian.org/debian/ stretch-proposed-updates main contrib non-free" >> /etc/apt/sources.list && \
18
+ echo "deb http://archive.debian.org/debian/ stretch-backports main contrib non-free" >> /etc/apt/sources.list && \
19
+ echo "deb-src http://archive.debian.org/debian/ stretch-backports main contrib non-free" >> /etc/apt/sources.list && \
20
+ apt-get update
21
+ {% endif %}
22
+
11
23
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get upgrade -y && apt-get install -y python3 sudo bash ca-certificates && apt-get clean; \
12
24
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python36 sudo python3-dnf bash && dnf clean all; \
13
25
elif [ $(command -v yum) ]; then yum makecache fast && yum update -y && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
Original file line number Diff line number Diff line change
1
+ ---
2
+
3
+ # Using pattern described in Ansible Best Practices and Conventions (Appendix B), Ansible for Devops (p. 406)
4
+ __java_open_jdk_version_major : 11
5
+ __java_keystore_dir : lib/security
6
+ # Supported openjdk major releases: 11
7
+
8
+ __java_required_repositories_openjdk : " deb http://archive.debian.org/debian stretch-backports main"
9
+ __java_required_libs_openjdk : []
10
+ __java_required_key_repositories_openjdk : []
11
+
12
+ __java_open_jdk_package : openjdk-{{ java_open_jdk_version_major }}-jdk-headless
13
+ __java_open_jdk_home_dir : java-{{ java_open_jdk_version_major }}-openjdk-{{ java_open_jdk_home_dir_suffix }}
Original file line number Diff line number Diff line change
1
+ ---
2
+ java_open_jdk_apt_extra_packages :
3
+ - python-apt
4
+ - apt-transport-https
5
+ __java_open_jdk_version_major : 8
6
+ __java_keystore_dir : jre/lib/security
7
+ # Supported major releases: 8 and from 11 to 14; hotspot and openj9 implementations
8
+
9
+ # For Debian family
10
+ __java_required_libs_openjdk : []
11
+
12
+ __java_required_key_repositories_openjdk :
13
+ - https://packages.adoptium.net/artifactory/api/gpg/key/public
14
+ __java_required_repositories_openjdk :
15
+ - deb https://packages.adoptium.net/artifactory/deb {{ ansible_distribution_release }} main
16
+ __java_open_jdk_home_dir : temurin-{{ java_open_jdk_version_major }}-jdk-{{ java_open_jdk_home_dir_suffix }}
17
+ __java_open_jdk_package : temurin-{{ java_open_jdk_version_major }}-jdk
You can’t perform that action at this time.
0 commit comments