Skip to content

Commit feb8f5a

Browse files
committed
docs(Makefile): notice of make build not working
1 parent 980e855 commit feb8f5a

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,13 @@ all:
4040
# This illustrates a two-stage Docker build. docker-compile runs inside of
4141
# the Docker environment. Other alternatives are cross-compiling, doing
4242
# the build as a `docker build`.
43-
build:
44-
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 godep go build -a -installsuffix cgo -ldflags '-s' -o $(BINARY_DEST_DIR)/builder cli/builder.go || exit 1
45-
mkdir -p ${BINDIR}/bin
46-
docker run --rm -v ${PWD}:/app -w /app golang:1.5.1 make docker-compile
43+
#
44+
# Aaron(2015-11-17) doesn't work, commented out. use 'make docker-build-bpb' instead
45+
#
46+
# build:
47+
# GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags '-s' -o $(BINARY_DEST_DIR)/builder boot.go || exit 1
48+
# mkdir -p ${BINDIR}/bin
49+
# docker run --rm -v ${PWD}:/app -w /app golang:1.5.1 make docker-compile
4750

4851
docker-build-bpb:
4952
cp -r bpbuilder/etcd pkg/

0 commit comments

Comments
 (0)