diff --git a/Dockerfile b/Dockerfile index 311305e..93da28f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,9 @@ WORKDIR /usr/src/fakes3pp RUN go mod download RUN go mod tidy ADD . /usr/src/fakes3pp/ -RUN go test -coverprofile cover.out ./... +#TODO: run tests in container build after github actions build can access the testing S3 backend endpoints. +# for now we just do test coverage in another job which is a dependency of the actual build to make sure tests pass. +#RUN go test -coverprofile cover.out ./... RUN go vet RUN CGO_ENABLED=0 GOOS=linux go build -o main .