Docker Ubuntu18.04 java (jdk, jre)설치 및 오류해결
Devops

Docker Ubuntu18.04 java (jdk, jre)설치 및 오류해결

뉴비뉴 2020. 8. 13.

안녕하세요.

 

jdk 8버전을 설치하면서 아래와 같은 오류가 발생하여 해결하는 법과 설치법은 간단하게 포스팅하겠습니다.

E: Unable to locate package openjdk-8-jdk

 

Dockerfile

RUN mkdir -p /usr/share/man/man1
RUN apt-get update && \
    apt-get install -y --no-install-recommends default-jre default-jdk
    
RUN java -version

 

감사합니다.

 

Reference

- https://github.com/phusion/baseimage-docker/issues/319

 

[16.04] debconf: delaying package configuration, since apt-utils is not installed · Issue #319 · phusion/baseimage-docker

On newest image 0.9.19, if I run any apt-get command, I received the following red warning line: debconf: delaying package configuration, since apt-utils is not installed Minimal example: FROM phus...

github.com

- https://www.hostinger.com/tutorials/install-java-ubuntu

 

댓글

💲 추천 글