ARG CENTOS_VERSION FROM centos:${CENTOS_VERSION} LABEL maintainer="ifui " RUN groupadd -f www && useradd -g www www ARG BAOTA_INSTALL_PATH # install pkg RUN yum install -y wget \ && yum install -y ca-certificates \ && yum install -y gd # install baota RUN set -eux \ && wget -O install_panel.sh ${BAOTA_INSTALL_PATH} \ && echo y | sh install_panel.sh COPY app.sh / RUN chmod 777 /app.sh CMD [ "/app.sh" ]