3 Star 11 Fork 0

Gitee 极速下载/fn-project

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/fnproject/fn
克隆/下载
Dockerfile 515 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jan Sauer 提交于 2019-06-18 01:32 +08:00 . Add fnserver port to docker image (#1507)
# build stage
FROM golang:1.10-alpine AS build-env
RUN apk --no-cache add build-base git bzr mercurial gcc
ENV D=/go/src/github.com/fnproject/fn
ADD . $D
RUN cd $D/cmd/fnserver && go build -o fn-alpine && cp fn-alpine /tmp/
# final stage: the local fnproject/dind:latest will be either built afresh or
# whatever is the latest from master, depending on whether we're releasing
# a newer cut.
FROM fnproject/dind:latest
WORKDIR /app
COPY --from=build-env /tmp/fn-alpine /app/fnserver
CMD ["./fnserver"]
EXPOSE 8080
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/mirrors/fn-project.git
git@gitee.com:mirrors/fn-project.git
mirrors
fn-project
fn-project
master

搜索帮助