Gogs %!s(int64=4) %!d(string=hai) anos
pai
achega
a646583665
Modificáronse 4 ficheiros con 0 adicións e 27 borrados
  1. 0 11
      gateway-game/Dockerfile
  2. 0 8
      gateway-game/agollo.json
  3. BIN=BIN
      gateway-game/gateway-game
  4. 0 8
      gateway-game/push.sh

+ 0 - 11
gateway-game/Dockerfile

@@ -1,11 +0,0 @@
-FROM golang:1.11
-RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
-RUN echo 'Asia/Shanghai' > /etc/timezone
-
-COPY gateway-game /go/bin/
-COPY agollo.json /go/bin/
-RUN chmod +x /go/bin/gateway-game
-WORKDIR /go/bin/
-
-CMD ["/go/bin/gateway-game"]
-EXPOSE 10001

+ 0 - 8
gateway-game/agollo.json

@@ -1,8 +0,0 @@
-{
-  "appId": "gateway-game",
-  "cluster" : "default",
-  "namespaceNames" : ["host.yaml"],
-  "ip" : "10.68.0.122:8080",
-  "oneNamespaceMode" : true,
-  "tagname" : "yaml"
-}

BIN=BIN
gateway-game/gateway-game


+ 0 - 8
gateway-game/push.sh

@@ -1,8 +0,0 @@
-#!/bin/bash
-
-release=$1
-
-[ ! -n "$release" ] && exit 1
-
-docker build -t registry-vpc.cn-beijing.aliyuncs.com/xinyue/gateway-game:${release} .
-docker push registry-vpc.cn-beijing.aliyuncs.com/xinyue/gateway-game:${release}