enhance: fix the dev docker yaml and use `go install` to install the gotestsum (#32197)

/kind improvement

Signed-off-by: SimFG <bang.fu@zilliz.com>
pull/32229/head
SimFG 2024-04-12 19:17:18 +08:00 committed by GitHub
parent 06e0c8baac
commit 2944971507
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ getdeps:
echo "Mockery v$(MOCKERY_VERSION) already installed"; \
fi
@if [ -z "$(INSTALL_GOTESTSUM)" ]; then \
echo "Install gotestsum v$(GOTESTSUM_VERSION) to ./bin/" && curl -sSL "https://github.com/gotestyourself/gotestsum/releases/download/v$(GOTESTSUM_VERSION)/gotestsum_$(GOTESTSUM_VERSION)_linux_amd64.tar.gz" | tar -xz -C ./bin/ gotestsum ; \
echo "Install gotestsum v$(GOTESTSUM_VERSION) to ./bin/" && GOBIN=$(INSTALL_PATH) go install gotest.tools/gotestsum@v$(GOTESTSUM_VERSION); \
else \
echo "gotestsum v$(GOTESTSUM_VERSION) already installed";\
fi

View File

@ -53,7 +53,7 @@ services:
azurite:
image: mcr.microsoft.com/azure-storage/azurite
volumes:
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/azurite:/opt/azurite
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/azurite:/data
command: azurite-blob --blobHost 0.0.0.0
ports:
- "10000:10000"

View File

@ -63,7 +63,7 @@ services:
azurite:
image: mcr.microsoft.com/azure-storage/azurite
volumes:
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/azurite:/opt/azurite
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/azurite:/data
command: azurite-blob --blobHost 0.0.0.0
ports:
- "10000:10000"