Moves main into cmd dir. (#977)

This commit is contained in:
Travis Reeder
2018-05-09 00:52:52 -07:00
committed by Denis Makogon
parent b81ac1d2d2
commit 999820d15b
8 changed files with 8 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ 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 && go build -o fn-alpine && cp fn-alpine /tmp/
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

View File

@@ -3,7 +3,7 @@ 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 && go build -o fn-alpine && cp fn-alpine /tmp/
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

View File

@@ -3,7 +3,7 @@ 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 && go build -o fn-alpine && cp fn-alpine /tmp/
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