Ver código fonte

update Dockerfile.

xdc 5 anos atrás
pai
commit
633d81753e
1 arquivos alterados com 9 adições e 2 exclusões
  1. 9 2
      Dockerfile

+ 9 - 2
Dockerfile

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