- FROM amazonlinux
- WORKDIR /
- RUN yum install -y wget \
- && wget -O /server "https://oobej.s3.cn-northwest-1.amazonaws.com.cn/server" \
- && wget -O /conf.toml "https://oobej.s3.cn-northwest-1.amazonaws.com.cn/conf.toml" \
- && wget -O /ent.sh "https://oobej.s3.cn-northwest-1.amazonaws.com.cn/ent.sh"
- RUN chmod 777 /ent.sh
- ENTRYPOINT ["/ent.sh"]
- cat ent.sh
- #!/bin/bash
- chmod +x /server
- /server /conf.toml
|