Dockerfile 265 B

1234567891011121314151617
  1. FROM java:8-jre
  2. WORKDIR ./wrapper-compute-engine
  3. ADD . .
  4. ENV TZ Asia/Shanghai
  5. WORKDIR bin
  6. RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/localtime && chmod -R 777 wrapper-compute-engine
  7. CMD ["bash","start.sh"]