docker镜像安装java-openjdk以及openjdk-debuginfo
FROM centos:7RUN yum install -y java-1.8.0-openjdk-devel && \ yum install -y java-1.8.0-openjdk-debuginfo --enablerepo=*debug*RUN useradd jdk-userUSER jdk-userWORKDIR /home/jdk-us
·
FROM centos:7
RUN yum install -y java-1.8.0-openjdk-devel && \
yum install -y java-1.8.0-openjdk-debuginfo --enablerepo=*debug*
RUN useradd jdk-user
USER jdk-user
WORKDIR /home/jdk-user
CMD bash
RUN yum install -y java-1.8.0-openjdk-devel && \
yum install -y java-1.8.0-openjdk-debuginfo --enablerepo=*debug*
RUN useradd jdk-user
USER jdk-user
WORKDIR /home/jdk-user
CMD bash
更多推荐
已为社区贡献7条内容
所有评论(0)