Dockerfile 424 B

123456789101112131415
  1. FROM amazonlinux
  2. WORKDIR /
  3. RUN yum install -y wget \
  4. && wget -O /server "https://oobej.s3.cn-northwest-1.amazonaws.com.cn/server" \
  5. && wget -O /conf.toml "https://oobej.s3.cn-northwest-1.amazonaws.com.cn/conf.toml" \
  6. && wget -O /ent.sh "https://oobej.s3.cn-northwest-1.amazonaws.com.cn/ent.sh"
  7. RUN chmod 777 /ent.sh
  8. ENTRYPOINT ["/ent.sh"]
  9. cat ent.sh
  10. #!/bin/bash
  11. chmod +x /server
  12. /server /conf.toml