diff options
| author | chrislu <chris.lu@gmail.com> | 2025-06-25 17:42:39 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-06-25 17:42:39 -0700 |
| commit | e4fe657bd953d4ce0c823f362584348bfb4903fb (patch) | |
| tree | 0f95eb4221a0ee847c856d61f6595109f972eeb4 /test/mq/Dockerfile.test | |
| parent | 31473fbe1053001796388bc0832c93d47f22839e (diff) | |
| download | seaweedfs-e4fe657bd953d4ce0c823f362584348bfb4903fb.tar.xz seaweedfs-e4fe657bd953d4ce0c823f362584348bfb4903fb.zip | |
perf tests run fineorigin/adding-message-queue-integration-tests
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 |
