#FROM openjdk:8-jdk-alpine 文件下载会出现空指针错误 FROM java:8 ARG WORKER_HOME RUN apt-get install -y --no-install-recommends tzdata && rm -rf /var/lib/apt/lists/* RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone RUN mkdir -p $WORKER_HOME/config COPY *.jar $WORKER_HOME/ibms-data-sdk.jar COPY *.xlsx $WORKER_HOME/ COPY *.xml $WORKER_HOME/ COPY *.json $WORKER_HOME/ COPY entrypoint.sh $WORKER_HOME/ RUN pwd WORKDIR $WORKER_HOME RUN ls ENTRYPOINT ["sh","./entrypoint.sh"]