Here is the command I run :
docker build -t ace-onlyv1 --build-arg ACE_INSTALL=11.0.0-ACE-LINUXX64-FP0014.tar.gz --file ubi/Dockerfile.aceonly .
After some time, compiler exists with this error :
.........
Step 14/46 : RUN go test -v ./cmd/runaceserver/
---> Using cache
---> 2b1d57a713ec
Step 15/46 : RUN go test -v ./internal/...
---> Using cache
---> d61bea02315f
Step 16/46 : RUN go vet ./cmd/... ./internal/...
---> Running in a095c5490f8a
github.com/ot4i/ace-docker/cmd/runaceserver
cmd/runaceserver/signals.go:37:2: misuse of unbuffered os.Signal channel as argument to signal.Notify
cmd/runaceserver/signals.go:59:6: misuse of unbuffered os.Signal channel as argument to signal.Notify
The command '/bin/sh -c go vet ./cmd/... ./internal/...' returned a non-zero code: 2
Dockerfile inherits the go:latest .. (FROM go:latest as builder)
Here is the command I run : docker build -t ace-onlyv1 --build-arg ACE_INSTALL=11.0.0-ACE-LINUXX64-FP0014.tar.gz --file ubi/Dockerfile.aceonly .
After some time, compiler exists with this error : ......... Step 14/46 : RUN go test -v ./cmd/runaceserver/ ---> Using cache ---> 2b1d57a713ec Step 15/46 : RUN go test -v ./internal/... ---> Using cache ---> d61bea02315f Step 16/46 : RUN go vet ./cmd/... ./internal/... ---> Running in a095c5490f8a
github.com/ot4i/ace-docker/cmd/runaceserver
cmd/runaceserver/signals.go:37:2: misuse of unbuffered os.Signal channel as argument to signal.Notify cmd/runaceserver/signals.go:59:6: misuse of unbuffered os.Signal channel as argument to signal.Notify The command '/bin/sh -c go vet ./cmd/... ./internal/...' returned a non-zero code: 2
Dockerfile inherits the go:latest .. (FROM go:latest as builder)