From a9392ea302f6485c774a314ba0cfee1941f748c9 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Thu, 14 Mar 2024 20:32:39 -0400 Subject: [PATCH] add java containerfiles, modified comments in dotnet container --- language-containers/dotnet/Containerfile | 2 +- language-containers/java/Containerfile | 19 +++++++++++++++++++ language-containers/java/Containerfile.java11 | 19 +++++++++++++++++++ language-containers/java/Containerfile.java17 | 19 +++++++++++++++++++ 4 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 language-containers/java/Containerfile create mode 100644 language-containers/java/Containerfile.java11 create mode 100644 language-containers/java/Containerfile.java17 diff --git a/language-containers/dotnet/Containerfile b/language-containers/dotnet/Containerfile index cd36f43..27b0bce 100644 --- a/language-containers/dotnet/Containerfile +++ b/language-containers/dotnet/Containerfile @@ -3,7 +3,7 @@ # This image is opinionated, but you're welcome to customize as much as you like # Start with the Fedora 38 image -FROM registry.fedoraproject.org/fedora-toolbox:38 +FROM scm.wyattjmiller.com/wymiller/base_container:latest # Label it right, ya know? ENV NAME=custom_dotnet_base_image VERSION=1.0 diff --git a/language-containers/java/Containerfile b/language-containers/java/Containerfile new file mode 100644 index 0000000..e35f161 --- /dev/null +++ b/language-containers/java/Containerfile @@ -0,0 +1,19 @@ +# Java 21 development container image +# Written by Wyatt J. Miller, 2023 +# This image is opinionated, but you're welcome to customize as much as you like + +# Start with the Fedora 39 custom image +FROM scm.wyattjmiller.com/wymiller/base_container:latest + +# Label it right, ya know? +ENV NAME=custom_java_21_base_image VERSION=1.0 +LABEL com.github.containers.toolbox="true" \ + com.redhat.component="$NAME" \ + name="$NAME" \ + version="$VERSION" \ + usage="Java currrent custom developer images" \ + summary="Wyatt's custom Java 21 image" \ + maintainer="Wyatt J. Miller " \ + +# Install .NET and related tools +RUN dnf install java-21-openjdk java-21-openjdk-devel -y -q && dnf clean all diff --git a/language-containers/java/Containerfile.java11 b/language-containers/java/Containerfile.java11 new file mode 100644 index 0000000..9cbe457 --- /dev/null +++ b/language-containers/java/Containerfile.java11 @@ -0,0 +1,19 @@ +# .NET development container image +# Written by Wyatt J. Miller, 2023 +# This image is opinionated, but you're welcome to customize as much as you like + +# Start with the Fedora 38 image +FROM scm.wyattjmiller.com/wymiller/base_container:latest + +# Label it right, ya know? +ENV NAME=custom_java_11_base_image VERSION=1.0 +LABEL com.github.containers.toolbox="true" \ + com.redhat.component="$NAME" \ + name="$NAME" \ + version="$VERSION" \ + usage="Java currrent custom developer images" \ + summary="Wyatt's custom Java 11 image" \ + maintainer="Wyatt J. Miller " \ + +# Install .NET and related tools +RUN dnf install java-11-openjdk java-11-openjdk-devel -y -q && dnf clean all diff --git a/language-containers/java/Containerfile.java17 b/language-containers/java/Containerfile.java17 new file mode 100644 index 0000000..85c6f63 --- /dev/null +++ b/language-containers/java/Containerfile.java17 @@ -0,0 +1,19 @@ +# Java 11 development container image +# Written by Wyatt J. Miller, 2023 +# This image is opinionated, but you're welcome to customize as much as you like + +# Start with the Fedora 39 custom image +FROM scm.wyattjmiller.com/wymiller/base_container:latest + +# Label it right, ya know? +ENV NAME=custom_java_17_base_image VERSION=1.0 +LABEL com.github.containers.toolbox="true" \ + com.redhat.component="$NAME" \ + name="$NAME" \ + version="$VERSION" \ + usage="Java currrent custom developer images" \ + summary="Wyatt's custom Java 17 image" \ + maintainer="Wyatt J. Miller " \ + +# Install .NET and related tools +RUN dnf install java-17-openjdk java-17-openjdk-devel -y -q && dnf clean all