Skip to content

Commit

Permalink
Merge pull request #67 from halverneus/bugfix/remove_race_flag_no_cgo
Browse files Browse the repository at this point in the history
Removed the -race flag
  • Loading branch information
halverneus authored Mar 9, 2022
2 parents 58f129c + 2f493ba commit d454a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.all
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN mkdir -p ${BUILD_DIR}
WORKDIR ${BUILD_DIR}

COPY . .
RUN go test -race -cover ./...
RUN go test -cover ./...
RUN GOOS=linux GOARCH=amd64 go build -a -tags netgo -installsuffix netgo -ldflags "-X github.com/halverneus/static-file-server/cli/version.version=${VERSION}" -o pkg/linux-amd64/serve /build/bin/serve
RUN GOOS=linux GOARCH=386 go build -a -tags netgo -installsuffix netgo -ldflags "-X github.com/halverneus/static-file-server/cli/version.version=${VERSION}" -o pkg/linux-i386/serve /build/bin/serve
RUN GOOS=linux GOARCH=arm GOARM=6 go build -a -tags netgo -installsuffix netgo -ldflags "-X github.com/halverneus/static-file-server/cli/version.version=${VERSION}" -o pkg/linux-arm6/serve /build/bin/serve
Expand Down

0 comments on commit d454a6f

Please sign in to comment.