Skip to content

Commit

Permalink
Update dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
hodduc committed Jul 11, 2016
1 parent 2ec86a2 commit 59d9ef0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

lib
build
libquic

libquic/build

*.pem
*.key
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apt-get -qq update && apt-get install -y build-essential cmake ninja-build
ADD . /go/src/github.com/devsisters/goquic

WORKDIR /go/src/github.com/devsisters/goquic
RUN GOQUIC_BUILD=Release ./build_libs.sh
RUN ./build_libs.sh -a -r
RUN go get github.com/oleiade/lane github.com/vanillahsu/go_reuseport github.com/gorilla/handlers golang.org/x/net/http2
RUN go build $GOPATH/src/github.com/devsisters/goquic/example/reverse_proxy.go

Expand Down
3 changes: 2 additions & 1 deletion build_libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ echo "GOOS: $GOOS"
echo "OPTION: $OPT"

if [ ! -d libquic ]; then
git submodule init && git submodule update
echo "try git submodule init && git submodule update first"
exit 1
fi

if [ ! -z $BUILD_CLEAN ]; then
Expand Down

0 comments on commit 59d9ef0

Please sign in to comment.