|
@@ -1,8 +1,15 @@
|
|
|
FROM amazonlinux
|
|
FROM amazonlinux
|
|
|
WORKDIR /
|
|
WORKDIR /
|
|
|
RUN yum install -y wget \
|
|
RUN yum install -y wget \
|
|
|
- && wget -O /server "https://oobej.s3.cn-northwest-1.amazonaws.com.cn/server_dms" \
|
|
|
|
|
|
|
+ && 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 /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"
|
|
&& wget -O /ent.sh "https://oobej.s3.cn-northwest-1.amazonaws.com.cn/ent.sh"
|
|
|
RUN chmod 777 /ent.sh
|
|
RUN chmod 777 /ent.sh
|
|
|
-ENTRYPOINT ["/ent.sh"]
|
|
|
|
|
|
|
+ENTRYPOINT ["/ent.sh"]
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+cat ent.sh
|
|
|
|
|
+
|
|
|
|
|
+#!/bin/bash
|
|
|
|
|
+chmod +x /server
|
|
|
|
|
+/server /conf.toml
|