added kotlin, wine container, modified java containers to include gradle build tool
This commit is contained in:
parent
e8b59e9c1c
commit
0b293a678e
@ -16,5 +16,16 @@ LABEL com.github.containers.toolbox="true" \
|
|||||||
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
||||||
vendor="Miller Web Solutions"
|
vendor="Miller Web Solutions"
|
||||||
|
|
||||||
|
# Set environment variables
|
||||||
|
ENV GRADLE_VERSION=8.6
|
||||||
|
ENV GRADLE_HOME=/opt/gradle
|
||||||
|
ENV PATH="${PATH}:${GRADLE_HOME}/bin"
|
||||||
|
|
||||||
# Install .NET and related tools
|
# Install .NET and related tools
|
||||||
RUN dnf install java-21-openjdk java-21-openjdk-devel -y -q && dnf clean all
|
RUN dnf install java-21-openjdk java-21-openjdk-devel -y -q && dnf clean all
|
||||||
|
|
||||||
|
# Download and install Gradle
|
||||||
|
RUN wget -q "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" -O gradle.zip && \
|
||||||
|
unzip -q gradle.zip -d /opt && \
|
||||||
|
mv "/opt/gradle-${GRADLE_VERSION}" "${GRADLE_HOME}" && \
|
||||||
|
rm gradle.zip
|
||||||
|
@ -16,5 +16,16 @@ LABEL com.github.containers.toolbox="true" \
|
|||||||
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
||||||
vendor="Miller Web Solutions"
|
vendor="Miller Web Solutions"
|
||||||
|
|
||||||
|
# Set environment variables
|
||||||
|
ENV GRADLE_VERSION=8.6
|
||||||
|
ENV GRADLE_HOME=/opt/gradle
|
||||||
|
ENV PATH="${PATH}:${GRADLE_HOME}/bin"
|
||||||
|
|
||||||
# Install Java 11
|
# Install Java 11
|
||||||
RUN dnf install java-11-openjdk java-11-openjdk-devel -y -q && dnf clean all
|
RUN dnf install java-11-openjdk java-11-openjdk-devel -y -q && dnf clean all
|
||||||
|
|
||||||
|
# Download and install Gradle
|
||||||
|
RUN wget -q "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" -O gradle.zip && \
|
||||||
|
unzip -q gradle.zip -d /opt && \
|
||||||
|
mv "/opt/gradle-${GRADLE_VERSION}" "${GRADLE_HOME}" && \
|
||||||
|
rm gradle.zip
|
||||||
|
@ -16,5 +16,16 @@ LABEL com.github.containers.toolbox="true" \
|
|||||||
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
||||||
vendor="Miller Web Solutions"
|
vendor="Miller Web Solutions"
|
||||||
|
|
||||||
|
# Set environment variables
|
||||||
|
ENV GRADLE_VERSION=8.6
|
||||||
|
ENV GRADLE_HOME=/opt/gradle
|
||||||
|
ENV PATH="${PATH}:${GRADLE_HOME}/bin"
|
||||||
|
|
||||||
# Install Java 17
|
# Install Java 17
|
||||||
RUN dnf install java-17-openjdk java-17-openjdk-devel -y -q && dnf clean all
|
RUN dnf install java-17-openjdk java-17-openjdk-devel -y -q && dnf clean all
|
||||||
|
|
||||||
|
# Download and install Gradle
|
||||||
|
RUN wget -q "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" -O gradle.zip && \
|
||||||
|
unzip -q gradle.zip -d /opt && \
|
||||||
|
mv "/opt/gradle-${GRADLE_VERSION}" "${GRADLE_HOME}" && \
|
||||||
|
rm gradle.zip
|
||||||
|
41
language-containers/kotlin/Containerfile
Normal file
41
language-containers/kotlin/Containerfile
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# Base Kotlin 1.9.2x image
|
||||||
|
# Written by Wyatt J. Miller, 2024
|
||||||
|
# This image is opinionated, but you're welcome to customize as much as you like
|
||||||
|
|
||||||
|
# Get my custom base image from scm
|
||||||
|
FROM scm.wyattjmiller.com/wymiller/base_container:latest
|
||||||
|
|
||||||
|
# Label it right, ya know?
|
||||||
|
ENV NAME=custom_base_kotlin_image VERSION=1.1
|
||||||
|
LABEL com.github.containers.toolbox="true" \
|
||||||
|
com.redhat.component="$NAME" \
|
||||||
|
name="$NAME" \
|
||||||
|
version="$VERSION" \
|
||||||
|
usage="Wyatt's base Kotlin image" \
|
||||||
|
summary="Wyatt's custom base Kotlin image" \
|
||||||
|
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
||||||
|
vendor="Miller Web Solutions"
|
||||||
|
|
||||||
|
# Set environment variables
|
||||||
|
ENV KOTLIN_VERSION=1.9.23
|
||||||
|
ENV KOTLIN_HOME=/usr/local/kotlin
|
||||||
|
ENV PATH="${PATH}:${KOTLIN_HOME}/bin"
|
||||||
|
ENV GRADLE_VERSION=8.6
|
||||||
|
ENV GRADLE_HOME=/opt/gradle
|
||||||
|
ENV PATH="${PATH}:${GRADLE_HOME}/bin"
|
||||||
|
|
||||||
|
# Install required packages
|
||||||
|
RUN dnf install -y -q wget unzip java-17-openjdk java-17-openjdk-devel && \
|
||||||
|
dnf clean all
|
||||||
|
|
||||||
|
# Download and install Kotlin
|
||||||
|
RUN wget -q "https://github.com/JetBrains/kotlin/releases/download/v${KOTLIN_VERSION}/kotlin-compiler-${KOTLIN_VERSION}.zip" -O kotlin.zip && \
|
||||||
|
unzip -q kotlin.zip -d /usr/local && \
|
||||||
|
mv /usr/local/kotlinc /usr/local/kotlin && \
|
||||||
|
rm kotlin.zip
|
||||||
|
|
||||||
|
# Download and install Gradle
|
||||||
|
RUN wget -q "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" -O gradle.zip && \
|
||||||
|
unzip -q gradle.zip -d /opt && \
|
||||||
|
mv "/opt/gradle-${GRADLE_VERSION}" "${GRADLE_HOME}" && \
|
||||||
|
rm gradle.zip
|
19
specialty-containers/wine/Containerfile
Normal file
19
specialty-containers/wine/Containerfile
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Wine container image
|
||||||
|
# Written by Wyatt J. Miller, 2023, 2024
|
||||||
|
# This image is opinionated, but you're welcome to customize as much as you like
|
||||||
|
|
||||||
|
# Start with the Fedora 39 image
|
||||||
|
FROM scm.wyattjmiller.com/wymiller/base_container:latest
|
||||||
|
|
||||||
|
# Label it right, ya know?
|
||||||
|
ENV NAME=custom_wine_image VERSION=1.1
|
||||||
|
LABEL com.github.containers.toolbox="true" \
|
||||||
|
com.redhat.component="$NAME" \
|
||||||
|
name="$NAME" \
|
||||||
|
version="$VERSION" \
|
||||||
|
usage="Wine image" \
|
||||||
|
summary="Wyatt's custom Wine image" \
|
||||||
|
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>"
|
||||||
|
|
||||||
|
# Install .NET and related tools
|
||||||
|
RUN dnf install wine -y
|
Loading…
Reference in New Issue
Block a user