![]() mkdir -p /usr/share/man/man1 /usr/share/man/man2ĮDIT 1: Removed RUN export JAVA_HOME from the Dockerfile as its not required. This will create couple of directories in the container which is left out in slim variants to reduce the overall container size. In such scenarios simply include below line before installing java. #11 66.48 installed openjdk-11-jre-headless:amd64 package post-installation script subprocess returned error exit status 2 #11 66.48 dpkg: error processing package openjdk-11-jre-headless:amd64 (-configure): ![]() #11 66.48 update-alternatives: error: error creating symbolic link '/usr/share/man/man1/java.1.gz.dpkg-tmp': No such file or directory #11 66.48 update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in auto mode In Debian Slim based containers you might come across below error.Įrror creating symbolic link '/usr/share/man/man1/java.1.gz.dpkg-tmp': No such file or directory Setting up openjdk-11-jre-headless:amd64 (11.0.16 8-1~deb10u1). OpenJDK 64-Bit Server VM (build 11.0.16 8-post-Debian-1deb10u1, mixed mode, sharing) OpenJDK Runtime Environment (build 11.0.16 8-post-Debian-1deb10u1) Microsoft is proud to have contributed the Windows on Arm port in 2020 as well as having made major contributions to the macOS M1 port. Our default policy is to upstream all patches when they are accepted. ĭocker run -d -name java-container java11Ĭheck the version in the container java -version Microsoft is committed to working with industry partners on OpenJDK for the common good of the Java Ecosystem. RUN mkdir -p /usr/share/man/man1 /usr/share/man/man2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |