Fix docker build.

master
Icedream 2018-06-03 01:20:10 +02:00
parent c83e4ff320
commit c270e82340
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ COPY . /go/src/app
RUN \ RUN \
mkdir -p "$GOPATH/src/$(dirname "$ROOT_IMPORT_PATH")" &&\ mkdir -p "$GOPATH/src/$(dirname "$ROOT_IMPORT_PATH")" &&\
ln -sf "$GOPATH/src/app" "$GOPATH/src/$ROOT_IMPORT_PATH" &&\ ln -sf "$GOPATH/src/app" "$GOPATH/src/$ROOT_IMPORT_PATH" &&\
CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"' -o /soccerbot "$ROOT_IMPORT_PATH" CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"' -o /soccer-bot "$ROOT_IMPORT_PATH"
### ###