Skip to content
Snippets Groups Projects
Dockerfile 419 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

RUN go get -u github.com/apache/dubbo-go@ARG

scott.wang's avatar
scott.wang committed
RUN go install github.com/apache/dubbo-go/test/integrate/dubbo/go-server

CMD go-server