diff options
Diffstat (limited to 'test/mq/Dockerfile.test')
| -rw-r--r-- | test/mq/Dockerfile.test | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/test/mq/Dockerfile.test b/test/mq/Dockerfile.test index 8902df6af..d9d86a4e1 100644 --- a/test/mq/Dockerfile.test +++ b/test/mq/Dockerfile.test @@ -6,7 +6,8 @@ RUN apk add --no-cache \ netcat-openbsd \ bash \ git \ - build-base + build-base \ + ca-certificates # Set working directory WORKDIR /workspace @@ -19,12 +20,8 @@ RUN go mod download COPY weed/ ./weed/ COPY test/mq/integration/ ./test/mq/integration/ -# Install test dependencies -RUN go install github.com/onsi/ginkgo/v2/ginkgo@latest -# Note: testify is a library, not a binary, so it's installed via go mod download - # Build the weed binary for testing (optional - tests can use external cluster) -RUN cd weed && go build -o ../weed . +RUN cd weed && CGO_ENABLED=1 GOOS=linux go build -o ../weed . # Create test results directory RUN mkdir -p /test-results @@ -37,5 +34,5 @@ ENV GO111MODULE=on # Default working directory for tests WORKDIR /workspace -# Entry point for running tests -ENTRYPOINT ["/bin/bash"]
\ No newline at end of file +# Entry point for running tests - use explicit bash +ENTRYPOINT ["/bin/bash", "-c"]
\ No newline at end of file |
