Skip to content
Snippets Groups Projects
Dockerfile 464 B
Newer Older
scott.wang's avatar
scott.wang committed
FROM golang

MAINTAINER scottwangsxll@gmail.com

WORKDIR /go/src/github.com/apache/dubbo-go/test/integrate/dubbo/go-server

ENV CONF_PROVIDER_FILE_PATH "server.yml"
ENV APP_LOG_CONF_FILE "log.yml"

ARG COMMITID

scott.wang's avatar
scott.wang committed
ADD . /go/src/github.com/apache/dubbo-go/test/integrate/dubbo/go-server
# update dubbo-go to current commit id
RUN go get -u github.com/apache/dubbo-go@${COMMITID}
scott.wang's avatar
scott.wang committed
RUN go install github.com/apache/dubbo-go/test/integrate/dubbo/go-server

CMD go-server