Skip to content

Commit 59d9ef0

Browse files
committed
Update dockerignore
1 parent 2ec86a2 commit 59d9ef0

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
lib
66
build
7-
libquic
7+
8+
libquic/build
89

910
*.pem
1011
*.key

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apt-get -qq update && apt-get install -y build-essential cmake ninja-build
55
ADD . /go/src/github.com/devsisters/goquic
66

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

build_libs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ echo "GOOS: $GOOS"
6161
echo "OPTION: $OPT"
6262

6363
if [ ! -d libquic ]; then
64-
git submodule init && git submodule update
64+
echo "try git submodule init && git submodule update first"
65+
exit 1
6566
fi
6667

6768
if [ ! -z $BUILD_CLEAN ]; then

0 commit comments

Comments
 (0)