Sign inSign up

kubile/centos-sdkman

By kubile

•Updated over 3 years ago

🔰 This is Centos with SDKMan

Image
0

116

kubile/centos-sdkman repository overview

⁠Note

⁠About this image

This is an image that contains only the SDKMan. SDKMan allows you to quickly customize images for different JDKs and SDKs.

⁠About image tag

For example:

docker pull kubile/centos-sdkman:8.4.2105

8.4.2105Centos version number

⁠Step1:Check and verify before installing JDKs or SDKs

You can do this:

# Run the container and automatically enter the container
docker run --rm -it kubile/centos-sdkman:8.4.2105

# e.g. Installing the JDK but not knowing what version is supported by the current operating system or CPU architecture
# Query available JDK versions.This is the process for using SDKMan. For details, please refer to:https://sdkman.io/usage
# Remember the version number you need and install it according to the configuration of Dockerfile below.e.g. Install Zulu 11.0.15-zulu and Maven 3.6.3
sdk ls java

# After obtaining the version record, use Exit to exit the container
exit

⁠Step2:Customize your image, such as an image that contains JDK and Maven

FROM kubile/centos-sdkman:8.4.2105

# Install Zulu JDK 11.0.15-zulu and Maven 3.6.3
RUN source $HOME/.sdkman/bin/sdkman-init.sh && \
    sdk install java 11.0.15-zulu && \
    sdk install maven 3.6.3

For more information, please visit:https://sdkman.io/jdks⁠ and https://sdkman.io/sdks⁠

Tag summary

Content type

Image

Digest

sha256:c8aee9e73…

Size

210.5 MB

Last updated

over 3 years ago

docker pull kubile/centos-sdkman:8.4.2105