Sign inSign up

kubile/ubuntu-sdkman

By kubile

•Updated over 3 years ago

🔰 This is Ubuntu with SDKMan

Image
0

316

kubile/ubuntu-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/ubuntu-sdkman:22.10

22.10Ubuntu 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/ubuntu-sdkman:22.10

# 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/ubuntu-sdkman:22.10

# 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:316c8fda1…

Size

84.9 MB

Last updated

over 3 years ago

docker pull kubile/ubuntu-sdkman:23.04