FROM --platform=linux/amd64 openjdk:11-jdk RUN apt-get update && apt-get install -y curl iotop wget procps lsof lib32gcc-s1 ADD skywalking-agent /skywalking-agent # RUN echo 'deb http://mirrors.163.com/debian/ stretch main non-free contrib' > /etc/apt/sources.list \ # && echo 'deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib' >> /etc/apt/sources.list \ # && echo 'deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib' >> /etc/apt/sources.list \ # && apt-get update \ # && apt-get install -y fontconfig ttf-dejavu # ENV LANG en_US.UTF-8 # RUN ln -s /lib/libc.musl-x86_64.so.1 /usr/lib/libc.musl-x86_64.so.1 # RUN sudo apt-get update && sudo apt-get install -y curl iotop wget procps lsof # RUN sudo apt-get update && sudo apt-get install -y lsof CMD ["java","--version"] # 打包之前先解压dhsdk.zip文件 # docker build -f Dockerfile -t harbor.sino-assist.com/marsal1212/java11:latest . # 添加了curl