juzhiyuan commented on a change in pull request #251:
URL: 
https://github.com/apache/incubator-apisix-dashboard/pull/251#discussion_r438576288



##########
File path: api/Dockerfile
##########
@@ -0,0 +1,34 @@
+FROM golang:1.13.8 AS build-env
+MAINTAINER [email protected]
+
+WORKDIR /go/src/github.com/api7/api7-manager-api

Review comment:
       api7?

##########
File path: api/Dockerfile
##########
@@ -0,0 +1,34 @@
+FROM golang:1.13.8 AS build-env
+MAINTAINER [email protected]

Review comment:
       ,

##########
File path: api/main.go
##########
@@ -0,0 +1,49 @@
+package main
+
+import (
+       "fmt"
+       "github.com/api7/api7-manager-api/conf"

Review comment:
       ,

##########
File path: api/Dockerfile
##########
@@ -0,0 +1,34 @@
+FROM golang:1.13.8 AS build-env
+MAINTAINER [email protected]
+
+WORKDIR /go/src/github.com/api7/api7-manager-api
+COPY . .
+RUN mkdir /root/api7-manager-api \
+    && go env -w GOPROXY=https://goproxy.io,direct \
+    && export GOPROXY=https://goproxy.io \
+    && go build -o /root/api7-manager-api/api7-manager-api \
+    && mv /go/src/github.com/api7/api7-manager-api/build.sh 
/root/api7-manager-api/ \
+    && mv /go/src/github.com/api7/api7-manager-api/conf.json 
/root/api7-manager-api/ \
+    && rm -rf /go/src/github.com/api7/api7-manager-api \
+    && rm -rf /etc/localtime \
+    && ln -s  /usr/share/zoneinfo/Hongkong /etc/localtime \
+    && dpkg-reconfigure -f noninteractive tzdata
+
+FROM alpine:3.11
+MAINTAINER [email protected]

Review comment:
       ,

##########
File path: api/route/healthz.go
##########
@@ -0,0 +1,21 @@
+package route
+
+import (
+       "github.com/api7/api7-manager-api/log"

Review comment:
       ,

##########
File path: api/Dockerfile
##########
@@ -0,0 +1,34 @@
+FROM golang:1.13.8 AS build-env
+MAINTAINER [email protected]

Review comment:
       All source codes should belong to Apache

##########
File path: api/README.md
##########
@@ -0,0 +1 @@
+# api7-manager-api

Review comment:
       Please add more info about the manager API.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to