1 Star 0 Fork 1

Orchid/truss

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 813 Bytes
一键复制 编辑 原始数据 按行查看 历史
Zaq? Wiedmann 提交于 2019-01-16 16:47 . Metaverse merge (#262)
# To run properly, the directory containing the proto files Truss will read to
# generate a service must be mounted into the container, so that the output
# generated by Truss escapes the container.
# Using scratch as a base image would result in a slightly smaller image,
# which would be fine if Truss were a self-contained executable, but protoc
# has difficulty running on a scratch image. Using Alpine Linux alleviates
# these issues and only increases image size by about 5 MB.
FROM golang:alpine3.5
MAINTAINER lab@tune.com
RUN apk update && apk upgrade && apk add --no-cache protobuf git
RUN go version && go get -u -v github.com/gogo/protobuf/protoc-gen-go
COPY ./ $GOPATH/src/github.com/metaverse/truss
RUN go install -v github.com/metaverse/truss/...
WORKDIR /go/src/protos
ENTRYPOINT ["truss"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/stroll_r/truss.git
git@gitee.com:stroll_r/truss.git
stroll_r
truss
truss
master

搜索帮助