The command '/bin/sh -c returned a non-zero code: 127

前端 未结 3 677
感动是毒
感动是毒 2021-02-05 01:19

I\'m new to docker so I might be doing this wrong, but I\'m trying to install Tomcat6 through a Dockerfile which like this:

FROM rhel7:latest
RUN cd         


        
3条回答
  •  我寻月下人不归
    2021-02-05 02:10

    Do not forget you can add all lib and package you need on the same line

    RUN cd /tmp \
    && apt-get update \
    && apt-get install -y curl apt-utils wget unzip\
    && rm -rf /var/lib/apt/lists/*

提交回复
热议问题